Clicking Past a Transparent Frame (Java)
问题 I am trying to develop an application in Java (Swing) that lets me overlay a grid on the screen, and be able to click things behind the grid -- say, an icon the desktop for example. Would I approach this problem with a Transparent JFrame or a Transparent JWindow? Whatever I use, the transparent window/frame needs to always be on top. occupy the entire screen. register every click with a mouse listener. record the coordinates of the clicks on the screen. allow me to use the Graphics class to