Mouse dragged means exactly that:
Every time the mouse is dragged (moved with a button pressed), send an event. What you described is to only send events to your program when the mouse is...
Type: Posts; User: helloworld922
Mouse dragged means exactly that:
Every time the mouse is dragged (moved with a button pressed), send an event. What you described is to only send events to your program when the mouse is...
See MouseMotionListener Interface: mouseDragged.
If you want an event only to be sent when the mouse is pressed/released, see MouseListener Interface.
The mousePressed() method is called...