Program: 32491
Project: 32491
Buggy source:
public AutoCompleteSupportComplexTestApp(){
  final EventList<Location> locations=new BasicEventList<Location>();
  locations.addAll(Arrays.asList(AutoCompleteSupportComplexTestApp.STATE_CAPITALS_DATA));
  final EventList<Location> locationProxyList=GlazedListsSwing.swingThreadProxyList(locations);
  final String[] propertyNames={"String_Node_Str","String_Node_Str","String_Node_Str"};
  final String[] columnLabels={"String_Node_Str","String_Node_Str","String_Node_Str"};
  final boolean[] writable={true,true,true};
  final TableFormat<Location> tableFormat=GlazedLists.tableFormat(propertyNames,columnLabels,writable);
  table.setModel(new DefaultEventTableModel<AutoCompleteSupportComplexTestApp.Location>(locationProxyList,tableFormat));
  for (int i=0; i < propertyNames.length; i++) {
    final DefaultCellEditor cellEditor=AutoCompleteSupport.createTableCellEditor(tableFormat,locations,i);
    table.getColumnModel().getColumn(i).setCellEditor(cellEditor);
  }
  autocompleteActionList.setPrototypeCellValue("String_Node_Str");
  autocompleteActionList.setPreferredSize(new Dimension(autocompleteActionList.getPreferredSize().width,600));
  autoCompleteComboBox.addActionListener(new AutoCompleteSupportComplexTestApp.RecordActionHandler(autocompleteActionListModel));
  autocompleteActionPanel=createActionPanel("String_Node_Str",autocompleteActionList);
  regularActionList.setPrototypeCellValue("String_Node_Str");
  regularActionList.setPreferredSize(new Dimension(regularActionList.getPreferredSize().width,600));
  regularComboBox.addActionListener(new AutoCompleteSupportComplexTestApp.RecordActionHandler(regularActionListModel));
  regularActionPanel=createActionPanel("String_Node_Str",regularActionList);
  tweakerPanel=createTweakerPanel();
  frame=new JFrame("String_Node_Str");
  frame.setJMenuBar(createLafMenuBar());
  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  frame.getContentPane().setLayout(new BorderLayout());
  rebuildContentPane();
  correctsCaseCheckBox.addActionListener(new CorrectCaseActionHandler());
  correctsCaseCheckBox.setSelected(autoCompleteSupport.getCorrectsCase());
  strictModeCheckBox.addActionListener(new StrictModeActionHandler());
  strictModeCheckBox.setSelected(autoCompleteSupport.isStrict());
  selectTextOnFocusGainCheckBox.addActionListener(new SelectTextOnFocusGainActionHandler());
  selectTextOnFocusGainCheckBox.setSelected(autoCompleteSupport.getSelectsTextOnFocusGain());
  hidesPopupOnFocusLostCheckBox.addActionListener(new HidePopupOnFocusLostActionHandler());
  hidesPopupOnFocusLostCheckBox.setSelected(autoCompleteSupport.getHidesPopupOnFocusLost());
  frame.pack();
  frame.setLocationRelativeTo(null);
  frame.setVisible(true);
}

Fixed version (ground truth):
public AutoCompleteSupportComplexTestApp(){
  final EventList<Location> locations=new BasicEventList<Location>();
  locations.addAll(Arrays.asList(AutoCompleteSupportComplexTestApp.STATE_CAPITALS_DATA));
  final EventList<Location> locationProxyList=GlazedListsSwing.swingThreadProxyList(locations);
  final String[] propertyNames={"String_Node_Str","String_Node_Str","String_Node_Str"};
  final String[] columnLabels={"String_Node_Str","String_Node_Str","String_Node_Str"};
  final boolean[] writable={true,true,true};
  final TableFormat<Location> tableFormat=GlazedLists.tableFormat(propertyNames,columnLabels,writable);
  table.setModel(new DefaultEventTableModel<AutoCompleteSupportComplexTestApp.Location>(locationProxyList,tableFormat));
  for (int i=0; i < propertyNames.length; i++) {
    final DefaultCellEditor cellEditor=AutoCompleteSupport.createTableCellEditor(tableFormat,locations,i);
    table.getColumnModel().getColumn(i).setCellEditor(cellEditor);
  }
  autocompleteActionList.setPrototypeCellValue("String_Node_Str");
  autocompleteActionList.setPreferredSize(new Dimension(autocompleteActionList.getPreferredSize().width,600));
  autoCompleteComboBox.setRenderer(new UrlListCellRenderer());
  autoCompleteComboBox.addActionListener(new AutoCompleteSupportComplexTestApp.RecordActionHandler(autocompleteActionListModel));
  autocompleteActionPanel=createActionPanel("String_Node_Str",autocompleteActionList);
  regularActionList.setPrototypeCellValue("String_Node_Str");
  regularActionList.setPreferredSize(new Dimension(regularActionList.getPreferredSize().width,600));
  regularComboBox.setRenderer(new UrlListCellRenderer());
  regularComboBox.addActionListener(new AutoCompleteSupportComplexTestApp.RecordActionHandler(regularActionListModel));
  regularActionPanel=createActionPanel("String_Node_Str",regularActionList);
  tweakerPanel=createTweakerPanel();
  frame=new JFrame("String_Node_Str");
  frame.setJMenuBar(createLafMenuBar());
  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  frame.getContentPane().setLayout(new BorderLayout());
  rebuildContentPane();
  correctsCaseCheckBox.addActionListener(new CorrectCaseActionHandler());
  correctsCaseCheckBox.setSelected(autoCompleteSupport.getCorrectsCase());
  strictModeCheckBox.addActionListener(new StrictModeActionHandler());
  strictModeCheckBox.setSelected(autoCompleteSupport.isStrict());
  selectTextOnFocusGainCheckBox.addActionListener(new SelectTextOnFocusGainActionHandler());
  selectTextOnFocusGainCheckBox.setSelected(autoCompleteSupport.getSelectsTextOnFocusGain());
  hidesPopupOnFocusLostCheckBox.addActionListener(new HidePopupOnFocusLostActionHandler());
  hidesPopupOnFocusLostCheckBox.setSelected(autoCompleteSupport.getHidesPopupOnFocusLost());
  frame.pack();
  frame.setLocationRelativeTo(null);
  frame.setVisible(true);
}