RelativePoint () { final int selectedRow = myTree.getSelectionRows()[0]; final Rectangle rowBounds = myTree.getRowBounds(selectedRow); final Point location = rowBounds.getLocation(); location.y += rowBounds.height; return new RelativePoint(myTree, location); }