@Override
  public TreePath getClosestPathForLocation(JTree tree, int x, int y) {
    return isValid(tree) ? super.getClosestPathForLocation(tree, x, y) : null;
  }
@Override
  public TreePath getClosestPathForLocation(JTree tree, int x, int y)