• Post Reply Bookmark Topic Watch Topic
  • New Topic

getRowForLocation(int x, int y)  RSS feed

 
Meyer Florian
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey there
In JTree, I have a method called getRowForLocation(int x, int y). Is there any way to get the row (by mouse location) of a JTable?
thanks
Florian Meyer
 
Meyer Florian
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lol, it's rowAtPoint(Point p);
thanks anyway!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!