Program: 17643
Project: 17643
Buggy source:
public void actionPerformed(final ActionEvent event){
  try {
    EncogWorkBench.getInstance().getMainWindow().endWait();
    if (event.getActionCommand().equals(EncogMenus.FILE_CHANGE_DIR)) {
      owner.getOperations().performFileChooseDirectory();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_NEW_PROJECT)) {
      owner.getOperations().performFileNewProject();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_NEW_FILE)) {
      CreateNewFile.performCreateFile();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_IMPORT)) {
      owner.getOperations().importFile();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_SAVE)) {
      owner.getOperations().performSave();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_QUIT)) {
      owner.getOperations().performQuit();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_CUT)) {
      owner.getOperations().performEditCut();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_COPY)) {
      owner.getOperations().performEditCopy();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_PASTE)) {
      owner.getOperations().performEditPaste();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_CONFIG)) {
      owner.getOperations().performEditConfig();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_FIND)) {
      owner.getOperations().performEditFind();
    }
 else     if (event.getActionCommand().equals(EncogMenus.HELP_ABOUT)) {
      owner.getOperations().performHelpAbout();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_BENCHMARK)) {
      owner.getOperations().performBenchmark();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_PROBEN)) {
      owner.getOperations().performProben();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_NOISE)) {
      owner.getOperations().performNoise();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_EVALUATE)) {
      owner.getOperations().performEvaluate();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_TRAIN)) {
      TrainBasicNetwork t=new TrainBasicNetwork(null,null);
      t.performTrain();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_VALIDATION_CHART)) {
      ValidationChart check=new ValidationChart();
      check.perform(EncogWorkBench.getInstance().getMainWindow());
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_BIN2EXTERNAL)) {
      ImportExport.performBin2External();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_EXTERNAL2BIN)) {
      ImportExport.performExternal2Bin(null,null,null);
    }
 else     if (event.getActionCommand().equals(EncogMenus.VIEW_RBF)) {
      owner.getOperations().performRBF();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_GENERATE_TRAINING)) {
      owner.getOperations().performCreateTrainingData();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_WIZARD)) {
      owner.getOperations().performWizard();
    }
  }
 catch (  Throwable t) {
    EncogWorkBench.displayError("String_Node_Str",t);
  }
}

Fixed version (ground truth):
public void actionPerformed(final ActionEvent event){
  try {
    EncogWorkBench.getInstance().getMainWindow().endWait();
    if (event.getActionCommand().equals(EncogMenus.FILE_CHANGE_DIR)) {
      owner.getOperations().performFileChooseDirectory();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_NEW_PROJECT)) {
      owner.getOperations().performFileNewProject();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_NEW_FILE)) {
      CreateNewFile.performCreateFile();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_IMPORT)) {
      owner.getOperations().importFile();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_SAVE)) {
      owner.getOperations().performSave();
    }
 else     if (event.getActionCommand().equals(EncogMenus.FILE_QUIT)) {
      owner.getOperations().performQuit();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_CUT)) {
      owner.getOperations().performEditCut();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_COPY)) {
      owner.getOperations().performEditCopy();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_PASTE)) {
      owner.getOperations().performEditPaste();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_SELECT_ALL)) {
      owner.getOperations().performEditSelectAll();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_CONFIG)) {
      owner.getOperations().performEditConfig();
    }
 else     if (event.getActionCommand().equals(EncogMenus.EDIT_FIND)) {
      owner.getOperations().performEditFind();
    }
 else     if (event.getActionCommand().equals(EncogMenus.HELP_ABOUT)) {
      owner.getOperations().performHelpAbout();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_BENCHMARK)) {
      owner.getOperations().performBenchmark();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_PROBEN)) {
      owner.getOperations().performProben();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_NOISE)) {
      owner.getOperations().performNoise();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_EVALUATE)) {
      owner.getOperations().performEvaluate();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_TRAIN)) {
      TrainBasicNetwork t=new TrainBasicNetwork(null,null);
      t.performTrain();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_VALIDATION_CHART)) {
      ValidationChart check=new ValidationChart();
      check.perform(EncogWorkBench.getInstance().getMainWindow());
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_BIN2EXTERNAL)) {
      ImportExport.performBin2External();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_EXTERNAL2BIN)) {
      ImportExport.performExternal2Bin(null,null,null);
    }
 else     if (event.getActionCommand().equals(EncogMenus.VIEW_RBF)) {
      owner.getOperations().performRBF();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_GENERATE_TRAINING)) {
      owner.getOperations().performCreateTrainingData();
    }
 else     if (event.getActionCommand().equals(EncogMenus.TOOLS_WIZARD)) {
      owner.getOperations().performWizard();
    }
  }
 catch (  Throwable t) {
    EncogWorkBench.displayError("String_Node_Str",t);
  }
}