Iterator j = nodesToReset.iterator(); while (j.hasNext()) { setExpandedParent((TreeImageDisplay) j.next(), true); }
    void setViews(Set nodes, TreeImageDisplay parent)    {        parent.removeAllChildren();        parent.setChildrenLoaded(Boolean.TRUE);        DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel();        if (nodes.size() != 0) {            Iterator i = nodes.iterator();            while (i.hasNext())                parent.addChildDisplay((TreeImageDisplay) i.next()) ;            buildTreeNode(parent, sorter.sort(nodes), dtm);        } else buildEmptyNode(parent);        dtm.reload(parent);        if (!model.isMainTree()) loadGoIntoTree();    }