Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jtable right mouse click

 
Martin Borovnik
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!

how can i set a selection with right mouse click in jtable? it only works with left mouse clicks. my table has single_selection mode.

thx
martin
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the only way I could find to select a row on a right mouse click:

 
Martin Borovnik
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!

thx!
martin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic