Solved

How to programatically select a JTable row at a point (from mouseEvent)

Posted on 2006-06-23
3
309 Views
Last Modified: 2012-05-05
I need to get the point from a right click event on a JTable and then select the row at that y-location programmatically before popping up a JPopupMenu.

Any ideas?
0
Comment
Question by:riaancornelius
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 16968334
0
 
LVL 9

Author Comment

by:riaancornelius
ID: 16968390
Now I feel very stupid :$

Dunno how I missed it.
Thanks CEHJ
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16968418
Easily done ;-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now