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

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?
LVL 9
riaancorneliusAsked:
Who is Participating?
 
riaancorneliusAuthor Commented:
Now I feel very stupid :$

Dunno how I missed it.
Thanks CEHJ
0
 
CEHJCommented:
Easily done ;-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.