I have a Java Swing application with a JFrame containing a JLabel containing an ImageIcon.
I want to monitor the mouse entering/exiting the ImageIcon.
For now I use the addMouseListener method of JLabel but the event Entered & Exited are thrown only when I enter/exit the application's window, not the ImageIcon.
I see no addMouseListener method for ImageIcon.
How can I do this?