setSelectionPath(temp);
  public void scrollPathToVisible(TreePath path)  {    if (path == null)      return;    Rectangle rect = getPathBounds(path);    if (rect == null)      return;    scrollRectToVisible(rect);  }