• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hope I get it right
 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic