private void checkUsingAdaptation(){
  if (tsUseAdaptation.isSelected()) {
    tfAdaptationTime.setEnabled(true);
    tfAdaptationParam.setEnabled(true);
  }
 else {
    tfAdaptationTime.setEnabled(false);
    tfAdaptationParam.setEnabled(false);
  }
}

private void checkUsingAdaptation ( ) { if ( tsUseAdaptation . isSelected ( ) ) { tfAdaptationTime . setEnabled ( true ) ; tfAdaptationParam . setEnabled ( true ) ; } else { tfAdaptationTime . setEnabled ( false ) ; tfAdaptationParam . setEnabled ( false ) ; } }
checks for using adaptation and enables or disables adaptation field accordingly .
