Method getClosestPathForLocation(int x, int y)
Return type: javax.swing.tree.TreePath
Member of: javax.swing.JTree
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 TreePath path = getClosestPathForLocation(location.x,
2 TreePath path = getClosestPathForLocation(location.x,
3 TreePath path = tree.getClosestPathForLocation(mouseLoc.x, mouseLoc.y);
4 TreePath path = tree.getClosestPathForLocation(mouseLoc.x, mouseLoc.y);
5 TreePath path = getClosestPathForLocation(pt.x, pt.y);
6 m_tree.getClosestPathForLocation(loc.x, loc.y);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.