Pass mouse events to applications behind from a Java UI

前端 未结 4 430
无人共我
无人共我 2021-01-03 08:11

The question I have is exactly same in requirement as How to pass mouse events to applications behind mine in C#/Vista? , but I need the same for a Transparent Java UI. I ca

4条回答
  •  执笔经年
    2021-01-03 08:41

    Savvas' answer helped me perfectly even on MacOS X 10.7.3 using Java 1.6.0_31. Thanks! The only thing: I additionally had to set

    f.setUndecorated(true);
    

提交回复
热议问题