In a mock exam it was marked true that "MouseEvents of the MOUSE_DRAGGED type may report negative values for the x and y position." Are'nt the co-ordinates +ve ?
Author and all-around good cowpoke
posted 15 years ago
Try it yourself. What happens is that a mouse drag that starts in a component continues to send events to that component even after the drag has left the normal component area. The coordinates are positive relative to the upper left corner of the component so they will go negative if the drag goes past that point. Bill