aspose file tools
The moose likes Swing / AWT / SWT and the fly likes getRowForLocation(int x, int y) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "getRowForLocation(int x, int y)" Watch "getRowForLocation(int x, int y)" New topic
Author

getRowForLocation(int x, int y)

Meyer Florian
Ranch Hand

Joined: Oct 20, 2003
Posts: 62
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

Joined: Oct 20, 2003
Posts: 62
lol, it's rowAtPoint(Point p);
thanks anyway!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getRowForLocation(int x, int y)
 
Similar Threads
x-- -x/0??
getRowForLocation(...) in JComboBox?
++ operator
Another Puzzle
Rounding up function