Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2006-06-23
3
311 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 58
factorial example 4 47
servlet example issue 6 46
MySQL  on Tomcat 8 68
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

856 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