Copyright (C) 2000, 2001, Geert Vernaeve. All Rights Reserved. |
We create a Container containing a Component. Observations: When the Panel gets the mousePressed(), it can receive the following mouseDrag, but the Component cannot! When both Panel and Component listen to mouse moves, only the Component gets them. So it seems that while the mouse button is down, only the receiver of the MousePressed event can listen to the MouseDrags; as soon as we release the button, others van listen to MouseMoves ... |