current = getParent(tree.getModel().getRoot(), current);
current = getParent(treeModel.getRoot(), current);
  int getLevel(Object node)  {    int count = -1;    Object current = node;    do      {        current = getParent(tree.getModel().getRoot(), current);        count++;      }    while (current != null);    return count;  }