I’ve added a JLayeredPane to a JFrame. To said pane i’ve added a JComponent with overloaded paintComponent(Graphics g) method, which calls super.paintComponent(g) among other things. The JComponent …
Tag: jlayeredpane
Java: How got check colors from an invisible panel
is it possible to read colors of you mouse position of an invisible panel? I want to have an “invisible overlay” with an color coded image. I used the Robot class to get my mouse position and the color. It works fine on my visible image, but if I set the image to invisible, it completely gets ignored. Is there