public void stateChanged(ChangeEvent e){
  if (e == null) {
    return;
  }
  if (myBar != null) {
    Object newModelValue=myBar.getValue();
    firePropertyChange(ACCESSIBLE_VALUE_PROPERTY,oldModelValue,newModelValue);
    oldModelValue=newModelValue;
  }
}

public void stateChanged ( ChangeEvent e ) { if ( e == null ) { return ; } if ( myBar != null ) { Object newModelValue = myBar . getValue ( ) ; firePropertyChange ( ACCESSIBLE_VALUE_PROPERTY , oldModelValue , newModelValue ) ; oldModelValue = newModelValue ; } }
invoked when the target of the listener has changed its state .
