if (parent.equals(parentDisplay)) treeDisplay.setSelectionPath(new TreePath(newNode.getPath()));
    void createNodes(Set nodes, TreeImageDisplay newNode)    {        Iterator i = nodes.iterator();        TreeImageDisplay parent;        List list;        Iterator j;        DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel();        buildEmptyNode(newNode);        while (i.hasNext()) {            parent = (TreeImageDisplay) i.next();            parent.addChildDisplay(newNode);            list = sorter.sort(parent.getChildrenDisplay());            parent.removeAllChildren();            j = list.iterator();            while (j.hasNext())                dtm.insertNodeInto((TreeImageDisplay) j.next(), parent,                                parent.getChildCount());            dtm.reload(parent);            expandNode(parent);        }    }