Question: what is the difference between mouse click and mousepressed in java?
Answer: There is not a very big difference, but mouseClicked happens when: Invoked when the mouse button has been clicked (pressed and released) on a component. Instead mouseReleased : Invoked when a mouse button has been released on a component.