Ability to click through a java app

后端 未结 3 440
暖寄归人
暖寄归人 2021-01-03 08:08

I\'ve got a simple program which atm displays a transparant window with an image on it, which is always on top of other windows. Is it possible to direct input past my app s

3条回答
  •  甜味超标
    2021-01-03 08:34

    You can click through a JFrame with this code...

    AWTUtilities.setWindowOpaque(this, false);
    AWTUtilities.setWindowOpacity(this, 0.8f);
    

提交回复
热议问题