private void addUnassignedAgentsFromExperiment(JTree agentTree, Experiment experiment) {
private void addUnassignedAgentsFromExperiment() {
  private void addUnassignedAgentsFromExperiment(JTree agentTree,                                                 Experiment experiment) {    Set unassignedAgents;    unassignedAgents = new TreeSet(dbBaseComponentComparator);    AgentComponent[] agents = experiment.getAgents();    NodeComponent[] nodes = experiment.getNodeComponents();    unassignedAgents.addAll(Arrays.asList(agents));    for (int i = 0; i < nodes.length; i++) {      List assignedAgents = Arrays.asList(nodes[i].getAgents());      unassignedAgents.removeAll(assignedAgents);    }    DefaultTreeModel model = (DefaultTreeModel)agentTree.getModel();    DefaultMutableTreeNode root = (DefaultMutableTreeNode)model.getRoot();    Iterator iter = unassignedAgents.iterator();    while (iter.hasNext()) {      AgentComponent agentComponent = (AgentComponent)iter.next();      CommunityTreeObject cto = new CommunityTreeObject(agentComponent);      DefaultMutableTreeNode newNode =	new DefaultMutableTreeNode(cto, false);      model.insertNodeInto(newNode, root, root.getChildCount());    }  }