Program: 44875
Project: 44875
Buggy source:
public UnifiedModelPanel(SlammerTabbedPane parent) throws Exception {
  this.parent=parent;
  group.add(UnifiedPAV);
  group.add(UnifiedPAM);
  UnifiedPAV.setActionCommand("String_Node_Str");
  UnifiedPAV.addActionListener(this);
  UnifiedPAM.setActionCommand("String_Node_Str");
  UnifiedPAM.addActionListener(this);
  fieldPGV.setEditable(false);
  button.setActionCommand("String_Node_Str");
  button.addActionListener(this);
  fieldResPR.setEditable(false);
  fieldAcPGA.setEditable(false);
  fieldkmaxPGA.setEditable(false);
  fieldkvelmaxPGV.setEditable(false);
  fieldkmax.setEditable(false);
  fieldkvelmax.setEditable(false);
  fieldrbdisp.setEditable(false);
  fieldResCm.setEditable(false);
  fieldResIn.setEditable(false);
  ta.setEditable(false);
  GridBagLayout gridbag=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  Insets top=new Insets(10,0,0,0);
  Insets none=new Insets(0,0,0,0);
  Border b=BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(0,0,0,5),BorderFactory.createMatteBorder(0,0,0,1,Color.BLACK));
  JPanel panel=this;
  panel.setLayout(gridbag);
  int x=0;
  int y=0;
  JLabel label;
  Box sidepanel=new Box(BoxLayout.Y_AXIS);
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  sidepanel.add(label);
  sidepanel.add(UnifiedPAM);
  sidepanel.add(UnifiedPAV);
  c.gridx=x++;
  c.gridy=y++;
  c.gridheight=19;
  c.anchor=GridBagConstraints.NORTHWEST;
  gridbag.setConstraints(sidepanel,c);
  panel.add(sidepanel);
  c.gridx=x++;
  c.fill=GridBagConstraints.VERTICAL;
  label=new JLabel("String_Node_Str");
  label.setBorder(b);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridheight=1;
  c.gridwidth=2;
  c.gridx=x++;
  c.gridy=y++;
  c.fill=GridBagConstraints.NONE;
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridy=y++;
  c.gridwidth=1;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldAc,c);
  panel.add(fieldAc);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldTs,c);
  panel.add(fieldTs);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldM,c);
  panel.add(fieldM);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldPGA,c);
  panel.add(fieldPGA);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldPGV,c);
  panel.add(fieldPGV);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldTm,c);
  panel.add(fieldTm);
  c.gridx=x++;
  c.gridy=y++;
  c.insets=top;
  c.gridwidth=2;
  gridbag.setConstraints(button,c);
  panel.add(button);
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridy=y++;
  c.gridwidth=1;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldResPR,c);
  panel.add(fieldResPR);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkmaxPGA,c);
  panel.add(fieldkmaxPGA);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkvelmaxPGV,c);
  panel.add(fieldkvelmaxPGV);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkmax,c);
  panel.add(fieldkmax);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkvelmax,c);
  panel.add(fieldkvelmax);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldrbdisp,c);
  panel.add(fieldrbdisp);
  c.gridy=y++;
  c.gridx=x++;
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridy=y++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldResCm,c);
  panel.add(fieldResCm);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldResIn,c);
  panel.add(fieldResIn);
  c.gridx=0;
  c.gridy=y;
  c.insets=none;
  c.gridwidth=4;
  c.weightx=1;
  c.weighty=1;
  c.fill=GridBagConstraints.BOTH;
  gridbag.setConstraints(sta,c);
  panel.add(sta);
}

Fixed version (ground truth):
public UnifiedModelPanel(SlammerTabbedPane parent) throws Exception {
  this.parent=parent;
  group.add(UnifiedPAV);
  group.add(UnifiedPAM);
  UnifiedPAV.setActionCommand("String_Node_Str");
  UnifiedPAV.addActionListener(this);
  UnifiedPAM.setActionCommand("String_Node_Str");
  UnifiedPAM.addActionListener(this);
  fieldPGV.setEditable(false);
  button.setActionCommand("String_Node_Str");
  button.addActionListener(this);
  fieldResPR.setEditable(false);
  fieldAcPGA.setEditable(false);
  fieldkmaxPGA.setEditable(false);
  fieldkvelmaxPGV.setEditable(false);
  fieldkmax.setEditable(false);
  fieldkvelmax.setEditable(false);
  fieldrbdisp.setEditable(false);
  fieldResCm.setEditable(false);
  fieldResIn.setEditable(false);
  ta.setEditable(false);
  GridBagLayout gridbag=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  Insets top=new Insets(10,0,0,0);
  Insets none=new Insets(0,0,0,0);
  Border b=BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(0,0,0,5),BorderFactory.createMatteBorder(0,0,0,1,Color.BLACK));
  JPanel panel=new JPanel();
  panel.setLayout(gridbag);
  int x=0;
  int y=0;
  JLabel label;
  Box sidepanel=new Box(BoxLayout.Y_AXIS);
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  sidepanel.add(label);
  sidepanel.add(UnifiedPAM);
  sidepanel.add(UnifiedPAV);
  c.gridx=x++;
  c.gridy=y++;
  c.gridheight=19;
  c.anchor=GridBagConstraints.NORTHWEST;
  gridbag.setConstraints(sidepanel,c);
  panel.add(sidepanel);
  c.gridx=x++;
  c.fill=GridBagConstraints.VERTICAL;
  label=new JLabel("String_Node_Str");
  label.setBorder(b);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridheight=1;
  c.gridwidth=2;
  c.gridx=x++;
  c.gridy=y++;
  c.fill=GridBagConstraints.NONE;
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridy=y++;
  c.gridwidth=1;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldAc,c);
  panel.add(fieldAc);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldTs,c);
  panel.add(fieldTs);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldM,c);
  panel.add(fieldM);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldPGA,c);
  panel.add(fieldPGA);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldPGV,c);
  panel.add(fieldPGV);
  c.gridx=x++;
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldTm,c);
  panel.add(fieldTm);
  c.gridx=x++;
  c.gridy=y++;
  c.insets=top;
  c.gridwidth=2;
  gridbag.setConstraints(button,c);
  panel.add(button);
  c.gridy=y++;
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridy=y++;
  c.gridwidth=1;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldResPR,c);
  panel.add(fieldResPR);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkmaxPGA,c);
  panel.add(fieldkmaxPGA);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkvelmaxPGV,c);
  panel.add(fieldkvelmaxPGV);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkmax,c);
  panel.add(fieldkmax);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldkvelmax,c);
  panel.add(fieldkvelmax);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldrbdisp,c);
  panel.add(fieldrbdisp);
  c.gridy=y++;
  c.gridx=x++;
  label=new JLabel("String_Node_Str");
  label.setFont(GUIUtils.headerFont);
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridy=y++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldResCm,c);
  panel.add(fieldResCm);
  c.gridy=y++;
  c.gridx=x++;
  c.insets=none;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  c.gridx=x--;
  gridbag.setConstraints(fieldResIn,c);
  panel.add(fieldResIn);
  c.gridx=x + 2;
  c.weightx=1;
  label=new JLabel("String_Node_Str");
  gridbag.setConstraints(label,c);
  panel.add(label);
  setLayout(new BorderLayout());
  add(panel,BorderLayout.NORTH);
  add(sta,BorderLayout.CENTER);
}