public void propertyChange(PropertyChangeEvent evt){
  panel.wasModified(evt);
  if (editor != null)   editor.setValue(targetBean);
  if (beanBox != null)   beanBox.beanChanged(targetBean,evt.getPropertyName());
}

public void propertyChange ( PropertyChangeEvent evt ) { panel . wasModified ( evt ) ; if ( editor != null ) editor . setValue ( targetBean ) ; if ( beanBox != null ) beanBox . beanChanged ( targetBean , evt . getPropertyName ( ) ) ; }
required by interface propertychangelistener . this method is called whenever one of the properties of the associated bean changes . if there is a propertyeditor associated with this property sheet , this method will generate a call to the editor ' s setvalue method . if there is a beanbox associated with this property sheet , this method will generate a call to beanchanged method on the beanbox .
