System.out.println("CSMARTConsole newNodeInTree called with null path; ignoring");
System.out.println("HostConfigurationBuilder newNodeInTree called with null path; ignoring");
  private void newNodeInTree(JTree tree) {    TreePath path = tree.getSelectionPath();    if (path == null) {      System.out.println("CSMARTConsole newNodeInTree called with null path; ignoring");      return;    }    DefaultMutableTreeNode selectedNode =       (DefaultMutableTreeNode)path.getLastPathComponent();    String nodeName = JOptionPane.showInputDialog("New node name: ");    if (nodeName == null || nodeName.length() == 0)      return;    DefaultTreeModel model = (DefaultTreeModel)tree.getModel();    NodeComponent nodeComponent = experiment.addNode(nodeName);    addDefaultArgumentsToNode((ConfigurableComponent)nodeComponent);    DefaultMutableTreeNode newNode =      new DefaultMutableTreeNode(new ConsoleTreeObject(nodeComponent));    model.insertNodeInto(newNode,			 selectedNode,			 selectedNode.getChildCount());    tree.scrollPathToVisible(new TreePath(newNode.getPath()));  }