wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How do i capture a double click on any swing component? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How do i capture a double click on any swing component?" Watch "How do i capture a double click on any swing component?" New topic
Author

How do i capture a double click on any swing component?

Mehul Sanghvi
Ranch Hand

Joined: Feb 04, 2002
Posts: 134
Hey..
I have looked for answer for this... but havent found any.
If anyone could please help me out as to how do I capture a double click on any swing component.. to be specific JList.
Thanks in Advance.
Regards,
Mehul.
Remus Stratulat
Greenhorn

Joined: Jan 29, 2002
Posts: 14

Hope I get it right


strem
Mehul Sanghvi
Ranch Hand

Joined: Feb 04, 2002
Posts: 134
Hey.. thanks pal!
But in my case... The code that i want to execute on the double click on JList would lie in the ActionListener attached to JList..!
How do i solve this?
Regards
Mehul K. Sanghvi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i capture a double click on any swing component?
 
Similar Threads
How do I implement mouse double-click? - Urgent please..
Listener for doubleclick
Event Handlers
Do MouseEvents work on JComboBox
Capture Mouse Events on JTable