void (final PropertyChangeEvent e) { if(RadComponent.PROP_SELECTED.equals(e.getPropertyName())){ final Boolean selected = (Boolean)e.getNewValue(); selectionChanged((RadComponent)e.getSource(), selected.booleanValue()); } else if(RadContainer.PROP_CHILDREN.equals(e.getPropertyName())){ final RadComponent[] oldChildren = (RadComponent[])e.getOldValue(); for(int i = oldChildren.length - 1; i >= 0; i--){ deinstall(oldChildren[i]); } final RadComponent[] newChildren = (RadComponent[])e.getNewValue(); for(int i = newChildren.length - 1; i >= 0; i--){ install(newChildren[i]); } } }