Program: 10198
Project: 10198
Buggy source:
public void init(){
  setSize(700,700);
  setLayout(new BorderLayout());
  descPanel=new DescriptionPanel(ore,ind,this);
  JScrollPane descScroll=new JScrollPane();
  descScroll.setViewportView(descPanel);
  statsPanel=new StatsPanel(ore,ind);
  statsPanel.init();
  JScrollPane statsScroll=new JScrollPane();
  statsScroll.setViewportView(statsPanel);
  changesPanel=new ChangesPanel();
  JScrollPane changesScroll=new JScrollPane();
  changesScroll.setViewportView(changesPanel);
  action_stats_Panel=new JPanel();
  GridBagLayout gbl=new GridBagLayout();
  gbl.rowWeights=new double[]{0.0,0.1,0.1};
  gbl.rowHeights=new int[]{34,7,7};
  gbl.columnWeights=new double[]{0.1};
  gbl.columnWidths=new int[]{7};
  action_stats_Panel.setLayout(gbl);
  action_stats_Panel.add(descScroll,new GridBagConstraints(0,0,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(5,5,5,5),0,0));
  action_stats_Panel.add(statsScroll,new GridBagConstraints(0,1,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(5,5,0,5),0,0));
  action_stats_Panel.add(changesScroll,new GridBagConstraints(0,2,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(5,5,0,5),0,0));
  JSeparator separator=new JSeparator();
  Box buttonBox=new Box(BoxLayout.X_AXIS);
  ok_cancelPanel=new JPanel();
  ok_cancelPanel.setLayout(new BorderLayout());
  ok_cancelPanel.add(separator,BorderLayout.NORTH);
  okButton=new JButton("String_Node_Str");
  okButton.addActionListener(this);
  cancelButton=new JButton("String_Node_Str");
  cancelButton.addActionListener(this);
  getContentPane().add(action_stats_Panel,java.awt.BorderLayout.CENTER);
  buttonBox.setBorder(new EmptyBorder(new Insets(5,10,5,10)));
  buttonBox.add(okButton);
  buttonBox.add(Box.createHorizontalStrut(10));
  buttonBox.add(cancelButton);
  ok_cancelPanel.add(buttonBox,BorderLayout.EAST);
  getContentPane().add(ok_cancelPanel,BorderLayout.SOUTH);
  setModal(true);
  setVisible(true);
}

Fixed version (ground truth):
public void init(){
  setSize(700,700);
  setLayout(new BorderLayout());
  descPanel=new DescriptionPanel(ore,ind,this);
  JScrollPane descScroll=new JScrollPane();
  descScroll.setViewportView(descPanel);
  statsPanel=new StatsPanel(ore,ind);
  statsPanel.init();
  JScrollPane statsScroll=new JScrollPane();
  statsScroll.setViewportView(statsPanel);
  changesPanel=new ChangesPanel();
  JScrollPane changesScroll=new JScrollPane();
  changesScroll.setViewportView(changesPanel);
  action_stats_Panel=new JPanel();
  GridBagLayout gbl=new GridBagLayout();
  gbl.rowWeights=new double[]{0.0,0.1,0.1};
  gbl.rowHeights=new int[]{64,7,7};
  gbl.columnWeights=new double[]{0.1};
  gbl.columnWidths=new int[]{7};
  action_stats_Panel.setLayout(gbl);
  action_stats_Panel.add(descScroll,new GridBagConstraints(0,0,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(5,5,5,5),0,0));
  action_stats_Panel.add(statsScroll,new GridBagConstraints(0,1,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(5,5,0,5),0,0));
  action_stats_Panel.add(changesScroll,new GridBagConstraints(0,2,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(5,5,0,5),0,0));
  JSeparator separator=new JSeparator();
  Box buttonBox=new Box(BoxLayout.X_AXIS);
  ok_cancelPanel=new JPanel();
  ok_cancelPanel.setLayout(new BorderLayout());
  ok_cancelPanel.add(separator,BorderLayout.NORTH);
  okButton=new JButton("String_Node_Str");
  okButton.addActionListener(this);
  cancelButton=new JButton("String_Node_Str");
  cancelButton.addActionListener(this);
  getContentPane().add(action_stats_Panel,java.awt.BorderLayout.CENTER);
  buttonBox.setBorder(new EmptyBorder(new Insets(5,10,5,10)));
  buttonBox.add(okButton);
  buttonBox.add(Box.createHorizontalStrut(10));
  buttonBox.add(cancelButton);
  ok_cancelPanel.add(buttonBox,BorderLayout.EAST);
  getContentPane().add(ok_cancelPanel,BorderLayout.SOUTH);
  setModal(true);
  setVisible(true);
}