Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

location of a selected row in a JTable

 
jefff willis
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
jefff willis
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Craig,

Perfect. Exactly what I needed. Nice job.

-jw
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic