public void actionPerformed(ActionEvent ae){
  if (ae.getSource() == getTimer()) {
    changeTimeBy(timeIncrement * clockDirection,timeWrap,clockDirection < 0 ? TimerStatus.UPDATE : TimerStatus.FORWARD);
  }
}

public void actionPerformed ( ActionEvent ae ) { if ( ae . getSource ( ) == getTimer ( ) ) { changeTimeBy ( timeIncrement * clockDirection , timeWrap , clockDirection < 0 ? TimerStatus . UPDATE : TimerStatus . FORWARD ) ; } }
actionlistener interface , gets called when the timer goes ping if there isn ' t a command with the actionevent . otherwise , the command should be filled in .
