private void synchronizeChanged(){
  clock.setSynchronize(synchronizeCheckBox.isSelected(),true);
  changed=true;
}

private void synchronizeChanged ( ) { clock . setSynchronize ( synchronizeCheckBox . isSelected ( ) , true ) ; changed = true ; }
method to handle synchronize check box change
