HostComponent[] hosts = experiment.getHosts();
HostComponent[] hosts = experiment.getHostComponents();
  private void addHostsFromExperiment() {    DefaultMutableTreeNode root =       (DefaultMutableTreeNode)hostTree.getModel().getRoot();    DefaultTreeModel model = (DefaultTreeModel)hostTree.getModel();    HostComponent[] hosts = experiment.getHosts();    for (int i = 0; i < hosts.length; i++) {      HostComponent hostComponent = hosts[i];      ConsoleTreeObject cto = new ConsoleTreeObject(hostComponent);      DefaultMutableTreeNode hostNode = new DefaultMutableTreeNode(cto, true);      model.insertNodeInto(hostNode, root, root.getChildCount());      NodeComponent[] nodes = hostComponent.getNodes();      for (int j = 0; j < nodes.length; j++) {	NodeComponent nodeComponent = nodes[j];	cto = new ConsoleTreeObject(nodeComponent);	DefaultMutableTreeNode nodeTreeNode = 	  new DefaultMutableTreeNode(cto, true);	model.insertNodeInto(nodeTreeNode, hostNode, hostNode.getChildCount());        nodeToHost.put(nodeComponent, hostComponent);	AgentComponent[] agents = nodeComponent.getAgents();	for (int k = 0; k < agents.length; k++) {	  AgentComponent agentComponent = agents[k];	  cto = new ConsoleTreeObject(agentComponent);	  DefaultMutableTreeNode agentNode = 	    new DefaultMutableTreeNode(cto, false);	  model.insertNodeInto(agentNode, nodeTreeNode,			       nodeTreeNode.getChildCount());          agentToNode.put(agentComponent, nodeComponent);	}      }    }  }