private void startStoppedChanged(){
  clock.setStartStopped(startStoppedCheckBox.isSelected());
  changed=true;
}

private void startStoppedChanged ( ) { clock . setStartStopped ( startStoppedCheckBox . isSelected ( ) ) ; changed = true ; }
method to handle start stopped check box change
