private void addUnassignedNodesFromExperiment(JTree nodeTree, Experiment experiment) {
private void addUnassignedNodesFromExperiment() {
  private void addUnassignedNodesFromExperiment(JTree nodeTree,                                                 Experiment experiment) {    Set unassignedNodes;    unassignedNodes = new TreeSet(dbBaseComponentComparator);    HostComponent[] hosts = experiment.getHostComponents();    NodeComponent[] nodes = experiment.getNodeComponents();    unassignedNodes.addAll(Arrays.asList(nodes));    for (int i = 0; i < hosts.length; i++)      unassignedNodes.removeAll(Arrays.asList(hosts[i].getNodes()));    DefaultMutableTreeNode root =       (DefaultMutableTreeNode)nodeTree.getModel().getRoot();    DefaultTreeModel model = (DefaultTreeModel)nodeTree.getModel();    Iterator iter = unassignedNodes.iterator();    while (iter.hasNext()) {      NodeComponent nodeComponent = (NodeComponent)iter.next();      CommunityTreeObject cto = new CommunityTreeObject(nodeComponent);      DefaultMutableTreeNode newNodeTreeNode = 	new DefaultMutableTreeNode(cto, true);      model.insertNodeInto(newNodeTreeNode, root, root.getChildCount());      AgentComponent[] agents = nodeComponent.getAgents();      for (int j = 0; j < agents.length; j++) {	AgentComponent agentComponent = agents[j];	cto = new CommunityTreeObject(agentComponent);	DefaultMutableTreeNode newAgentNode = 	  new DefaultMutableTreeNode(cto, false);	model.insertNodeInto(newAgentNode, newNodeTreeNode, 			     newNodeTreeNode.getChildCount());      }    }  }