if (node == null) { if (log.isErrorEnabled()) { log.error("No node for component: " + cc); } return; }
  public void propertyAdded(PropertyEvent e) {    Property prop = e.getProperty();    // get the tree node for this property's configurable component    ModifiableComponent cc =       (ModifiableComponent)prop.getConfigurableComponent();    PropertyTreeNode node = (PropertyTreeNode)componentToNode.get(cc);    CompositeName name = prop.getName();    if (node.addPropertyName(name)) {      TreePath path = tree.getSelectionPath();      if (path == null) return;      // if it's a property of the selected tree node, then display it now      PropertyTreeNode selectedNode =         (PropertyTreeNode)path.getLastPathComponent();      if (selectedNode.equals(node)) {        if(log.isDebugEnabled()) {          log.debug("PropertyBuilder: Property added: " + name);        }        addTableEntryForProperty(prop);      }    }  }