public void enableButtons(boolean stat){
  if (stat) {
    enableReadButtons();
  }
 else {
    readChangesButton.setEnabled(false);
    readAllButton.setEnabled(false);
  }
  writeChangesButton.setEnabled(stat);
  writeAllButton.setEnabled(stat);
  if (modePane != null) {
    modePane.setEnabled(stat);
  }
}

public void enableButtons ( boolean stat ) { if ( stat ) { enableReadButtons ( ) ; } else { readChangesButton . setEnabled ( false ) ; readAllButton . setEnabled ( false ) ; } writeChangesButton . setEnabled ( stat ) ; writeAllButton . setEnabled ( stat ) ; if ( modePane != null ) { modePane . setEnabled ( stat ) ; } }
enable the read / write buttons . < p > in addition , if a programming mode pane is present , it ' s " set " button is enabled .
