Program: 150864
Project: 150864
Buggy source:
public ShapeFitContourPanel(ShapeFitContourApp owner){
  this.owner=owner;
  algorithmCombo=new JComboBox();
  algorithmCombo.addItem("String_Node_Str");
  algorithmCombo.addItem("String_Node_Str");
  algorithmCombo.addActionListener(this);
  algorithmCombo.setMaximumSize(algorithmCombo.getPreferredSize());
  imageView=new JComboBox();
  imageView.addItem("String_Node_Str");
  imageView.addItem("String_Node_Str");
  imageView.addItem("String_Node_Str");
  imageView.addActionListener(this);
  imageView.setMaximumSize(imageView.getPreferredSize());
  selectZoom=new JSpinner(new SpinnerNumberModel(1,0.1,50,1));
  selectZoom.addChangeListener(this);
  selectZoom.setMaximumSize(selectZoom.getPreferredSize());
  threshold=new ThresholdControlPanel(owner);
  selectMinimumSideFraction=new JSpinner(new SpinnerNumberModel(minimumSplitFraction,0,0.999,0.0025));
  selectMinimumSideFraction.setEditor(new JSpinner.NumberEditor(selectMinimumSideFraction,"String_Node_Str"));
  selectMinimumSideFraction.addChangeListener(this);
  selectMinimumSideFraction.setMaximumSize(selectMinimumSideFraction.getPreferredSize());
  selectSplitFraction=new JSpinner(new SpinnerNumberModel(splitFraction,0,1.0,0.01));
  selectSplitFraction.setEditor(new JSpinner.NumberEditor(selectSplitFraction,"String_Node_Str"));
  showCorners=new JCheckBox("String_Node_Str");
  showCorners.setSelected(cornersVisible);
  showCorners.addChangeListener(this);
  showContour=new JCheckBox("String_Node_Str");
  showContour.setSelected(contoursVisible);
  showContour.addChangeListener(this);
  selectSplitFraction.addChangeListener(this);
  selectSplitFraction.setMaximumSize(selectSplitFraction.getPreferredSize());
  addLabeled(algorithmCombo,"String_Node_Str",this);
  addLabeled(imageView,"String_Node_Str",this);
  addLabeled(selectZoom,"String_Node_Str",this);
  add(threshold);
  addLabeled(selectMinimumSideFraction,"String_Node_Str",this);
  addLabeled(selectSplitFraction,"String_Node_Str",this);
  addAlignLeft(showCorners,this);
  addAlignLeft(showContour,this);
  addVerticalGlue(this);
}

Fixed version (ground truth):
public ShapeFitContourPanel(ShapeFitContourApp owner){
  this.owner=owner;
  algorithmCombo=new JComboBox();
  algorithmCombo.addItem("String_Node_Str");
  algorithmCombo.addItem("String_Node_Str");
  algorithmCombo.addActionListener(this);
  algorithmCombo.setMaximumSize(algorithmCombo.getPreferredSize());
  imageView=new JComboBox();
  imageView.addItem("String_Node_Str");
  imageView.addItem("String_Node_Str");
  imageView.addItem("String_Node_Str");
  imageView.addActionListener(this);
  imageView.setMaximumSize(imageView.getPreferredSize());
  selectZoom=new JSpinner(new SpinnerNumberModel(1,0.1,50,1));
  selectZoom.addChangeListener(this);
  selectZoom.setMaximumSize(selectZoom.getPreferredSize());
  threshold=new ThresholdControlPanel(owner);
  selectMinimumSideFraction=new JSpinner(new SpinnerNumberModel(minimumSplitFraction,0,0.999,0.0025));
  selectMinimumSideFraction.setEditor(new JSpinner.NumberEditor(selectMinimumSideFraction,"String_Node_Str"));
  selectMinimumSideFraction.addChangeListener(this);
  selectMinimumSideFraction.setMaximumSize(selectMinimumSideFraction.getPreferredSize());
  selectSplitFraction=new JSpinner(new SpinnerNumberModel(splitFraction,0,1.0,0.01));
  selectSplitFraction.setEditor(new JSpinner.NumberEditor(selectSplitFraction,"String_Node_Str"));
  showCorners=new JCheckBox("String_Node_Str");
  showCorners.setSelected(cornersVisible);
  showCorners.addChangeListener(this);
  showContour=new JCheckBox("String_Node_Str");
  showContour.setSelected(contoursVisible);
  showContour.addChangeListener(this);
  selectSplitFraction.addChangeListener(this);
  selectSplitFraction.setMaximumSize(selectSplitFraction.getPreferredSize());
  addLabeled(algorithmCombo,"String_Node_Str",this);
  addSeparator(200);
  addLabeled(imageView,"String_Node_Str",this);
  addLabeled(selectZoom,"String_Node_Str",this);
  addAlignCenter(threshold,this);
  addLabeled(selectMinimumSideFraction,"String_Node_Str",this);
  addLabeled(selectSplitFraction,"String_Node_Str",this);
  addAlignLeft(showCorners,this);
  addAlignLeft(showContour,this);
  addVerticalGlue(this);
}