aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes jtable right mouse click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jtable right mouse click" Watch "jtable right mouse click" New topic
Author

jtable right mouse click

Martin Borovnik
Greenhorn

Joined: Aug 30, 2005
Posts: 8
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

Joined: Apr 30, 2003
Posts: 820

This is the only way I could find to select a row on a right mouse click:

Martin Borovnik
Greenhorn

Joined: Aug 30, 2005
Posts: 8
hi!

thx!
martin
 
 
subject: jtable right mouse click
 
Similar Threads
JTable and popup
JTable
jtable help
The Header Of JTable
JTable - selection of a right-click