Program: 50532
Project: 50532
Buggy source:
public void displayRecipe(){
  if (myRecipe == null)   return;
  dontUpdate=true;
  txtName.setText(myRecipe.getName());
  brewerNameText.setText(myRecipe.getBrewer());
  preBoilText.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits())));
  lblSizeUnits.setText(myRecipe.getVolUnits());
  finalWortVolText.setValue(new Double(myRecipe.getFinalWortVol(myRecipe.getVolUnits())));
  boilMinText.setText(SBStringUtils.format(myRecipe.getBoilMinutes(),0));
  evapText.setText(SBStringUtils.format(myRecipe.getEvap(),1));
  spnEffic.setValue(new Double(myRecipe.getEfficiency()));
  spnAtten.setValue(new Double(myRecipe.getAttenuation()));
  spnOG.setValue(new Double(myRecipe.getEstOg()));
  spnFG.setValue(new Double(myRecipe.getEstFg()));
  txtComments.setText(myRecipe.getComments());
  lblIBUvalue.setText(SBStringUtils.format(myRecipe.getIbu(),1));
  lblColourValue.setText(SBStringUtils.format(myRecipe.getColour(),1));
  lblAlcValue.setText(SBStringUtils.format(myRecipe.getAlcohol(),1));
  try {
    txtDate.setDate(myRecipe.getCreated().getTime());
  }
 catch (  PropertyVetoException e) {
    e.printStackTrace();
  }
  Costs=SBStringUtils.myNF.format(myRecipe.getTotalMaltCost());
  tblMaltTotalsModel.setDataVector(new String[][]{{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + SBStringUtils.format(myRecipe.getTotalMalt(),1),myRecipe.getMaltUnits(),"String_Node_Str" + SBStringUtils.format(myRecipe.getEstOg(),3),"String_Node_Str" + SBStringUtils.format(myRecipe.getColour(),1),Costs,"String_Node_Str"}},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  Costs=SBStringUtils.myNF.format(myRecipe.getTotalHopsCost());
  tblHopsTotalsModel.setDataVector(new String[][]{{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + SBStringUtils.format(myRecipe.getTotalHops(),1),myRecipe.getHopUnits(),"String_Node_Str","String_Node_Str","String_Node_Str" + SBStringUtils.format(myRecipe.getIbu(),1),Costs}},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  String fileName="String_Node_Str";
  if (currentFile != null) {
    fileName=currentFile.getName();
  }
  fileNameLabel.setText("String_Node_Str" + fileName);
  ibuMethodLabel.setText("String_Node_Str" + myRecipe.getIBUMethod());
  alcMethodLabel.setText("String_Node_Str" + myRecipe.getAlcMethod());
  double colour=myRecipe.getColour(BrewCalcs.SRM);
  if (preferences.getProperty("String_Node_Str").equals("String_Node_Str"))   colourPanel.setBackground(BrewCalcs.calcRGB(1,colour,preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str")));
 else   colourPanel.setBackground(BrewCalcs.calcRGB(2,colour,preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str")));
  String title="String_Node_Str" + version + "String_Node_Str"+ edition;
  String file="String_Node_Str";
  String dirty="String_Node_Str";
  if (currentFile != null) {
    file="String_Node_Str" + currentFile.getAbsolutePath();
  }
 else {
    file="String_Node_Str";
  }
  if (myRecipe.getDirty()) {
    dirty="String_Node_Str";
  }
 else {
    dirty="String_Node_Str";
  }
  this.setTitle(title + file + dirty);
  dontUpdate=false;
}

Fixed version (ground truth):
public void displayRecipe(){
  if (myRecipe == null)   return;
  dontUpdate=true;
  txtName.setText(myRecipe.getName());
  brewerNameText.setText(myRecipe.getBrewer());
  preBoilText.setText(SBStringUtils.format(myRecipe.getPreBoilVol(myRecipe.getVolUnits()),2));
  lblSizeUnits.setText(myRecipe.getVolUnits());
  finalWortVolText.setText(SBStringUtils.format(myRecipe.getFinalWortVol(myRecipe.getVolUnits()),2));
  boilMinText.setText(SBStringUtils.format(myRecipe.getBoilMinutes(),0));
  evapText.setText(SBStringUtils.format(myRecipe.getEvap(),1));
  spnEffic.setValue(new Double(myRecipe.getEfficiency()));
  spnAtten.setValue(new Double(myRecipe.getAttenuation()));
  spnOG.setValue(new Double(myRecipe.getEstOg()));
  spnFG.setValue(new Double(myRecipe.getEstFg()));
  txtComments.setText(myRecipe.getComments());
  lblIBUvalue.setText(SBStringUtils.format(myRecipe.getIbu(),1));
  lblColourValue.setText(SBStringUtils.format(myRecipe.getColour(),1));
  lblAlcValue.setText(SBStringUtils.format(myRecipe.getAlcohol(),1));
  try {
    txtDate.setDate(myRecipe.getCreated().getTime());
  }
 catch (  PropertyVetoException e) {
    e.printStackTrace();
  }
  Costs=SBStringUtils.myNF.format(myRecipe.getTotalMaltCost());
  tblMaltTotalsModel.setDataVector(new String[][]{{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + SBStringUtils.format(myRecipe.getTotalMalt(),1),myRecipe.getMaltUnits(),"String_Node_Str" + SBStringUtils.format(myRecipe.getEstOg(),3),"String_Node_Str" + SBStringUtils.format(myRecipe.getColour(),1),Costs,"String_Node_Str"}},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  Costs=SBStringUtils.myNF.format(myRecipe.getTotalHopsCost());
  tblHopsTotalsModel.setDataVector(new String[][]{{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + SBStringUtils.format(myRecipe.getTotalHops(),1),myRecipe.getHopUnits(),"String_Node_Str","String_Node_Str","String_Node_Str" + SBStringUtils.format(myRecipe.getIbu(),1),Costs}},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  String fileName="String_Node_Str";
  if (currentFile != null) {
    fileName=currentFile.getName();
  }
  fileNameLabel.setText("String_Node_Str" + fileName);
  ibuMethodLabel.setText("String_Node_Str" + myRecipe.getIBUMethod());
  alcMethodLabel.setText("String_Node_Str" + myRecipe.getAlcMethod());
  double colour=myRecipe.getColour(BrewCalcs.SRM);
  if (preferences.getProperty("String_Node_Str").equals("String_Node_Str"))   colourPanel.setBackground(BrewCalcs.calcRGB(1,colour,preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str")));
 else   colourPanel.setBackground(BrewCalcs.calcRGB(2,colour,preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str"),preferences.getIProperty("String_Node_Str")));
  String title="String_Node_Str" + version + "String_Node_Str"+ edition;
  String file="String_Node_Str";
  String dirty="String_Node_Str";
  if (currentFile != null) {
    file="String_Node_Str" + currentFile.getAbsolutePath();
  }
 else {
    file="String_Node_Str";
  }
  if (myRecipe.getDirty()) {
    dirty="String_Node_Str";
  }
 else {
    dirty="String_Node_Str";
  }
  this.setTitle(title + file + dirty);
  dontUpdate=false;
}