Program: 60067
Project: 60067
Buggy source:
private JScrollPane content(List<MetaInfo> infoList,String syntax){
  try {
    Object columnNames[]={"String_Node_Str"};
    List<String[]> values=new ArrayList<String[]>();
    for (    MetaInfo info : infoList) {
      if (!Strings.isBlank(info.getName())) {
        values.add(new String[]{info.getName()});
      }
    }
    DefaultTableModel model=new DefaultTableModel(values.toArray(new Object[][]{}),columnNames);
    JTable jtable=new JTable(model);
    jtable.setPreferredScrollableViewportSize(jtable.getPreferredSize());
    jtable.setTableHeader(null);
    jtable.setShowGrid(false);
    jtable.setColumnSelectionAllowed(true);
    jtable.setCellSelectionEnabled(true);
    textArea=new RSyntaxTextArea();
    textArea.setHighlightCurrentLine(true);
    textArea.setAnimateBracketMatching(true);
    textArea.setAntiAliasingEnabled(true);
    textArea.setEditable(false);
    textArea.setSyntaxEditingStyle(syntax);
    ListSelectionModel cellSelectionModel=jtable.getSelectionModel();
    cellSelectionModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    cellSelectionModel.addListSelectionListener(new ListSelectionListener(){
      public void valueChanged(      ListSelectionEvent e){
        int[] selectedRow=jtable.getSelectedRows();
        int[] selectedColumns=jtable.getSelectedColumns();
        for (int i=0; i < selectedRow.length; i++) {
          for (int j=0; j < selectedColumns.length; j++) {
            String href=(String)jtable.getValueAt(selectedRow[i],selectedColumns[j]);
            textArea.setText(getSourceCode(href,syntax));
            textArea.repaint();
          }
        }
      }
    }
);
    JPanel tablePanel=new JPanel();
    tablePanel.setLayout(new BoxLayout(tablePanel,BoxLayout.Y_AXIS));
    tablePanel.add(jtable);
    tablePanel.add(textArea);
    return new JScrollPane(tablePanel);
  }
 catch (  Exception e) {
    logger.error(e);
  }
  return null;
}

Fixed version (ground truth):
private JScrollPane content(List<MetaInfo> infoList,String syntax){
  try {
    Object columnNames[]={"String_Node_Str"};
    List<String[]> values=new ArrayList<String[]>();
    for (    MetaInfo info : infoList) {
      if (!Strings.isBlank(info.getName())) {
        values.add(new String[]{info.getName()});
      }
    }
    DefaultTableModel model=new DefaultTableModel(values.toArray(new Object[][]{}),columnNames);
    JTable jtable=new JTable(model);
    jtable.setPreferredScrollableViewportSize(jtable.getPreferredSize());
    jtable.setTableHeader(null);
    jtable.setShowGrid(false);
    jtable.setColumnSelectionAllowed(true);
    jtable.setCellSelectionEnabled(true);
    RSyntaxTextArea textArea=new RSyntaxTextArea();
    textArea.setHighlightCurrentLine(true);
    textArea.setAnimateBracketMatching(true);
    textArea.setAntiAliasingEnabled(true);
    textArea.setEditable(false);
    textArea.setSyntaxEditingStyle(syntax);
    ListSelectionModel cellSelectionModel=jtable.getSelectionModel();
    cellSelectionModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    cellSelectionModel.addListSelectionListener(new ListSelectionListener(){
      public void valueChanged(      ListSelectionEvent e){
        int[] selectedRow=jtable.getSelectedRows();
        int[] selectedColumns=jtable.getSelectedColumns();
        for (int i=0; i < selectedRow.length; i++) {
          for (int j=0; j < selectedColumns.length; j++) {
            String href=(String)jtable.getValueAt(selectedRow[i],selectedColumns[j]);
            textArea.setText(getSourceCode(href,syntax));
            textArea.repaint();
          }
        }
      }
    }
);
    JPanel tablePanel=new JPanel();
    tablePanel.setLayout(new BoxLayout(tablePanel,BoxLayout.Y_AXIS));
    tablePanel.add(jtable);
    tablePanel.add(textArea);
    return new JScrollPane(tablePanel);
  }
 catch (  Exception e) {
    logger.error("String_Node_Str",e);
  }
  return null;
}