model.insertNodeInto(newNode, node, node.getChildCount()); workspace.scrollPathToVisible(new TreePath(newNode.getPath()));     }
if (node == null) node = root; model.insertNodeInto(newNode, node, node.getChildCount()); workspace.scrollPathToVisible(new TreePath(newNode.getPath()));     }
    private void addNode(DefaultMutableTreeNode node, DefaultMutableTreeNode newNode) {        model.insertNodeInto(newNode, node, node.getChildCount());	workspace.scrollPathToVisible(new TreePath(newNode.getPath()));//          TreePath path = new TreePath(newNode.getPath());//          workspace.expandPath(path);//          workspace.setSelectionPath(path);//          System.out.println(path);    }