String name, String type) {
String name, String type, String communityName) {
  protected DefaultMutableTreeNode addNode(DefaultMutableTreeNode node,                                           String name, String type) {    DefaultTreeModel model = (DefaultTreeModel)getModel();    DefaultMutableTreeNode root = (DefaultMutableTreeNode)model.getRoot();    if (node == null) {      root.removeAllChildren();      model.nodeStructureChanged(root);      node = root;    }    DefaultMutableTreeNode newNode =      new DefaultMutableTreeNode(new CommunityTreeObject(name, type),                                 !type.equals("Agent"));    model.insertNodeInto(newNode, node, node.getChildCount());    // expand branch below new node and scroll to display new node    expandBranch(newNode);    scrollPathToVisible(new TreePath(newNode.getPath()));    return newNode;  }