updateCurrentVisiblePath();
  protected void toggleExpandState(TreePath path)  {    if (tree.isExpanded(path))      tree.collapsePath(path);    else      tree.expandPath(path);    updateCurrentVisiblePath();  }