return row;
return -1;
  public int getRowForPath(JTree tree, TreePath path)  {    int row = 0;    Object dest = path.getLastPathComponent();    Object curr = treeModel.getRoot();    while (curr != null && !curr.equals(dest))      {        ++row;        curr = getNextVisibleNode(curr);      }    return row;  }