Object np = getMyProperties().put(name, nullProperty); if (!nullProperty.equals(np)) firePropertyRemoved(prop);
p = (Property)getMyProperties().get(name); if (p.isVisible()) firePropertyRemoved(prop);
  public void setPropertyVisible(Property prop, boolean newVisible) {    CompositeName name = prop.getName();    if (newVisible) {      Object np = getMyProperties().get(name);      if (nullProperty.equals(np)) {        getMyProperties().remove(name);        firePropertyAdded(prop);      }    } else {      Object np = getMyProperties().put(name, nullProperty);      if (!nullProperty.equals(np))        firePropertyRemoved(prop);    }  }