addToTree(communityTree.addNode((DefaultMutableTreeNode)communityTree.getModel().getRoot(), communityName, "Community", null),
addToTree(communityTree.addNode(root, communityName, "Community", null),
  private void putAllCommunitiesInTree() {    ArrayList communityNames = CommunityDBUtils.getCommunitiesForExperiment(experiment.getCommAsbID());    if (communityNames == null || communityNames.size() == 0)      return;    communityTree.getModel().removeTreeModelListener(treeModelListener);    for (Iterator iter = communityNames.iterator(); iter.hasNext(); ) {      String communityName = (String)iter.next();      communityName = communityName.trim();      if (communityName.length() > 0) {// 	if (log.isDebugEnabled()) {// 	  log.debug("putAllComms adding " + communityName);// 	}	// This first argument must point to the tree root	addToTree(communityTree.addNode((DefaultMutableTreeNode)communityTree.getModel().getRoot(), communityName, "Community", null),		  communityName);      }    }    communityTree.getModel().addTreeModelListener(treeModelListener);  }