This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How do i capture a double click on any swing component?
 
It's not a secret anymore!