This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: jtable right mouse click
 
jQuery in Action, 3rd edition