@Override public void actionPerformed(ActionEvent event){
  String command=event.getActionCommand();
  if (command.equals("AngleOffsetValue")) {
    validateAngleOffset();
  }
 else   if (command.equals("TickUnitValue")) {
    validateTickUnit();
  }
}

@ Override public void actionPerformed ( ActionEvent event ) { String command = event . getActionCommand ( ) ; if ( command . equals ( "AngleOffsetValue" ) ) { validateAngleOffset ( ) ; } else if ( command . equals ( "TickUnitValue" ) ) { validateTickUnit ( ) ; } }
handles actions from within the property panel .
