code: @Override
      public void setProperties(Property[] newProperties) {
          // unregister the listeners from previous properties
          for (Property prop : properties) {
              prop.removePropertyChangeListener(this);
          }
  
          // replace the current properties
          properties.clear();
          properties.addAll(Arrays.asList(newProperties));
  
          // add listeners
          for (Property prop : properties) {
              prop.addPropertyChangeListener(this);
          }
  
          buildModel();
      }
docs: /* (non-Javadoc)
  @see com.l2fprod.common.propertysheet.PropertySheet#setProperties(com.l2fprod.common.propertysheet.Property[])