props.addAll(compsToConfig[i].getPropertyNamesList());
BaseComponent component = compsToConfig[i]; PropertyTreeNode node = new PropertyTreeNode(component.getFullName()); model.insertNodeInto(node, root, root.getChildCount()); componentToNode.put(component, node); nodeToComponent.put(node, component); components.add(component);
  private DefaultMutableTreeNode makeTree() {    List props = new ArrayList();    // FIXME: This will have trouble if there are more than one property    // with the same name    for (int i = 0; i < compsToConfig.length; i++) {      props.addAll(compsToConfig[i].getPropertyNamesList());    }    //    SortedSet names = new TreeSet(componentToConfigure.getPropertyNamesList());    SortedSet names = new TreeSet(props);    for (Iterator i = names.iterator(); i.hasNext(); ) {      CompositeName name = (CompositeName) i.next();      addPropertyName(name);    }    return root;  }