void updateRunningButton(){
  boolean running=clock.getRun();
  if (running) {
    clockStatus.setText(Bundle.getMessage("ClockRunning"));
    startButton.setVisible(false);
    stopButton.setVisible(true);
  }
 else {
    clockStatus.setText(Bundle.getMessage("ClockStopped"));
    startButton.setVisible(true);
    stopButton.setVisible(false);
  }
  clockStatus.setVisible(true);
}

void updateRunningButton ( ) { boolean running = clock . getRun ( ) ; if ( running ) { clockStatus . setText ( Bundle . getMessage ( "ClockRunning" ) ) ; startButton . setVisible ( false ) ; stopButton . setVisible ( true ) ; } else { clockStatus . setText ( Bundle . getMessage ( "ClockStopped" ) ) ; startButton . setVisible ( true ) ; stopButton . setVisible ( false ) ; } clockStatus . setVisible ( true ) ; }
method to adjust to running state changes
