I have noticed you will get two 'sets' of mouse events for a double click
mousePressed(where click count == 1)
mouseReleased(where click count == 1)
mouseClicked(where click count == 1)
mousePressed(where click count == 2)
mouseReleased(where click count == 2)
mouseClicked(where click count == 2)
I have not found any way to 'avoid' getting that first set of events when a double click happens. I just test to see if click count ==2 and act accordingly
hope this helps
chad
-----Original Message-----
From: Timothy Reaves [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 2:43 PM
To: Swing List; java-linux
Subject: JTable mouse click
When I double-click on a JTable, the MouseEvent event is saying the
getClickedCount ==1. It always equals one regardless of the actual
click count. I'm using JDK 1.3 from Sun.
Any advice?
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing
