Cascading mouseEntered events to sub components
Posted on 2004-09-16
I have a JPanel which contains other components. Whenever the user puts the mouse anywhere in the JPanel, I want it to fire a mouseEntered event.
I've almost got it working, but often the event fails to fire if the mouse is moved quickly into the JPanel. I suspect this is because if the mouse goes from outside the JPanel to inside one of the sub components, then the event doesn't fire (am I right ?).
Is there a way round this?