@Override public void actionPerformed(ActionEvent event){
  String command=event.getActionCommand();
  if (command.equals("SelectLabelFont")) {
    attemptLabelFontSelection();
  }
 else   if (command.equals("SelectLabelPaint")) {
    attemptModifyLabelPaint();
  }
 else   if (command.equals("SelectTickLabelFont")) {
    attemptTickLabelFontSelection();
  }
}

@ Override public void actionPerformed ( ActionEvent event ) { String command = event . getActionCommand ( ) ; if ( command . equals ( "SelectLabelFont" ) ) { attemptLabelFontSelection ( ) ; } else if ( command . equals ( "SelectLabelPaint" ) ) { attemptModifyLabelPaint ( ) ; } else if ( command . equals ( "SelectTickLabelFont" ) ) { attemptTickLabelFontSelection ( ) ; } }
handles user interaction with the property panel .
