Reputation: 65
Is there any way to capture image after double click mouse event with java? I can capture image only at mouse release of double click event. But capture image is not the image after double click event.
Upvotes: 1
Views: 318
Reputation: 316
http://docs.oracle.com/javase/tutorial/uiswing/events/mouselistener.html
official java tutorial with example using MouseListener
Upvotes: 1
Reputation: 168825
Use MouseEvent.getClickCount()
.
Returns the number of mouse clicks associated with this event.
Upvotes: 5