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 location of a selected row in a JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "location of a selected row in a JTable" Watch "location of a selected row in a JTable" New topic
Author

location of a selected row in a JTable

jefff willis
Ranch Hand

Joined: Sep 29, 2004
Posts: 113
hey,

I need to pop up a frame right under a selected row in my JTable.

The table is in a scrollPane. Any idea how I can get the location of my
selected row so that I can use that information to position my pop up?

thanks.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
jefff willis
Ranch Hand

Joined: Sep 29, 2004
Posts: 113
Craig,

Perfect. Exactly what I needed. Nice job.

-jw
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: location of a selected row in a JTable
 
Similar Threads
JTable
JTable
JTable
jtable
jTable selectedRowIndex at mouse click