treeNodesInsertedInHostTree(e); } else if (nodeTree.getModel().equals(source)) treeNodesInsertedInNodeTree(e);
treeNodesInsertedInHostTree(e.getTreePath(), e.getChildren()); } else if (nodeTree.getModel().equals(source)) { treeNodesInsertedInNodeTree(e.getTreePath(), e.getChildren()); } else if (agentTree.getModel().equals(source)) { treeNodesInsertedInAgentTree(e.getChildren()); }
  public void treeNodesInserted(TreeModelEvent e) {    //    System.out.println("Tree Node Inserted: " +    //             ((ConsoleTreeObject)((DefaultMutableTreeNode)e.getTreePath().getLastPathComponent()).getUserObject()).getName());    Object source = e.getSource();    if (hostTree.getModel().equals(source)) {      treeNodesInsertedInHostTree(e);    } else if (nodeTree.getModel().equals(source))      treeNodesInsertedInNodeTree(e);    experimentBuilder.setModified(true);  }