• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I catch double click on JTable?  RSS feed

 
Graeme Brown
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me how I can detect a user double clicking a line in a JTable? I have added a mouseListener which is receiving click events, but when I call getClickCount() from the MouseEvent it always returns 1.
Thanks
Graeme
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!