updateExpandedDescendants(new TreePath(getPathToRoot(treeModel. getRoot(), 0)));
updateExpandedDescendants(new TreePath(treeModel.getRoot()));
  protected void updateLayoutCacheExpandedNodes()  {    if (treeModel != null)      updateExpandedDescendants(new TreePath(getPathToRoot(treeModel.                                                           getRoot(), 0)));  }