File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jtable right mouse click