Program: 32692
Project: 32692
Buggy source:
/** 
 * Display a frame for browsing issues.
 */
private JPanel constructView(){
  final JTextField filterTextField=new JTextField();
  final MatcherEditor textFilterMatcherEditor=new ThreadedMatcherEditor(new TextComponentMatcherEditor(filterTextField,null));
  StatusMatcherEditor statusMatcherEditor=new StatusMatcherEditor(issuesEventList);
  SwingUsersMatcherEditor userMatcherEditor=new SwingUsersMatcherEditor(issuesEventList);
  FilterList issuesUserFiltered=new FilterList(issuesEventList,userMatcherEditor);
  FilterList issuesStatusFiltered=new FilterList(issuesUserFiltered,statusMatcherEditor);
  FilterList issuesTextFiltered=new FilterList(issuesStatusFiltered,textFilterMatcherEditor);
  ThresholdList priorityList=new ThresholdList(issuesTextFiltered,"String_Node_Str");
  final SortedList issuesSortedList=new SortedList(priorityList,null);
  issuesSortedList.setMode(SortedList.AVOID_MOVING_ELEMENTS);
  issuesTableModel=new EventTableModel(issuesSortedList,new IssueTableFormat());
  JTable issuesJTable=new JTable(issuesTableModel);
  issuesSelectionModel=new EventSelectionModel(issuesSortedList);
  issuesSelectionModel.setSelectionMode(ListSelection.MULTIPLE_INTERVAL_SELECTION_DEFENSIVE);
  issuesSelectionModel.addListSelectionListener(new IssuesSelectionListener());
  issuesJTable.setSelectionModel(issuesSelectionModel);
  issuesJTable.getColumnModel().getColumn(0).setPreferredWidth(10);
  issuesJTable.getColumnModel().getColumn(1).setPreferredWidth(30);
  issuesJTable.getColumnModel().getColumn(2).setPreferredWidth(10);
  issuesJTable.getColumnModel().getColumn(3).setPreferredWidth(30);
  issuesJTable.getColumnModel().getColumn(4).setPreferredWidth(30);
  issuesJTable.getColumnModel().getColumn(5).setPreferredWidth(200);
  issuesJTable.setDefaultRenderer(Priority.class,new PriorityTableCellRenderer());
  new TableComparatorChooser(issuesJTable,issuesSortedList,true);
  JScrollPane issuesTableScrollPane=new JScrollPane(issuesJTable,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  JScrollPane usersListScrollPane=new JScrollPane(userMatcherEditor.getUserSelect(),JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  EventTableModel descriptionsTableModel=new EventTableModel(descriptions,new DescriptionTableFormat());
  JTable descriptionsTable=new JTable(descriptionsTableModel);
  descriptionsTable.setRowSelectionAllowed(false);
  descriptionsTable.getColumnModel().getColumn(0).setCellRenderer(new DescriptionRenderer());
  JScrollPane descriptionsTableScrollPane=new JScrollPane(descriptionsTable,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  BoundedRangeModel priorityRangeModel=GlazedListsSwing.lowerRangeModel(priorityList);
  priorityRangeModel.setRangeProperties(0,0,0,101,false);
  JSlider prioritySlider=new JSlider(priorityRangeModel);
  Hashtable prioritySliderLabels=new Hashtable();
  prioritySliderLabels.put(new Integer(0),new JLabel("String_Node_Str"));
  prioritySliderLabels.put(new Integer(100),new JLabel("String_Node_Str"));
  prioritySlider.setOpaque(false);
  prioritySlider.setLabelTable(prioritySliderLabels);
  prioritySlider.setSnapToTicks(true);
  prioritySlider.setPaintLabels(true);
  prioritySlider.setPaintTicks(true);
  prioritySlider.setForeground(UIManager.getColor("String_Node_Str"));
  prioritySlider.setMajorTickSpacing(25);
  prioritySlider.setForeground(Color.BLACK);
  EventList projects=Project.getProjects();
  EventComboBoxModel projectsComboModel=new EventComboBoxModel(projects);
  JComboBox projectsCombo=new JComboBox(projectsComboModel);
  projectsCombo.setEditable(false);
  projectsCombo.setOpaque(false);
  projectsCombo.addItemListener(new ProjectChangeListener());
  projectsComboModel.setSelectedItem(new Project(null,"String_Node_Str"));
  issueCounter=new IssueCounterLabel(issuesSortedList);
  issueCounter.setHorizontalAlignment(SwingConstants.CENTER);
  issueCounter.setForeground(Color.WHITE);
  ClassLoader jarLoader=IssuesBrowser.class.getClassLoader();
  URL url=jarLoader.getResource("String_Node_Str");
  if (url != null)   throbberStatic=new ImageIcon(url);
  url=jarLoader.getResource("String_Node_Str");
  if (url != null)   throbberActive=new ImageIcon(url);
  throbber=new JLabel(throbberStatic);
  throbber.setHorizontalAlignment(SwingConstants.RIGHT);
  JPanel iconBar=new GradientPanel(GLAZED_LISTS_MEDIUM_BROWN,GLAZED_LISTS_DARK_BROWN,true);
  iconBar.setLayout(new GridLayout(1,3));
  iconBar.add(projectsCombo);
  iconBar.add(issueCounter);
  iconBar.add(throbber);
  iconBar.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
  JLabel textFilterLabel=new JLabel("String_Node_Str");
  textFilterLabel.setFont(textFilterLabel.getFont().deriveFont(11.0f));
  JLabel priorityLabel=new JLabel("String_Node_Str");
  priorityLabel.setFont(priorityLabel.getFont().deriveFont(11.0f));
  JLabel stateLabel=new JLabel("String_Node_Str");
  stateLabel.setFont(stateLabel.getFont().deriveFont(11.0f));
  JLabel userLabel=new JLabel("String_Node_Str");
  userLabel.setFont(userLabel.getFont().deriveFont(11.0f));
  JPanel filtersPanel=new JPanel();
  filtersPanel.setBackground(GLAZED_LISTS_LIGHT_BROWN);
  filtersPanel.setLayout(new GridBagLayout());
  filtersPanel.add(textFilterLabel,new GridBagConstraints(0,0,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(filterTextField,new GridBagConstraints(0,1,1,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(2,5,10,5),0,0));
  filtersPanel.add(stateLabel,new GridBagConstraints(0,2,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(statusMatcherEditor.getComponent(),new GridBagConstraints(0,3,1,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(2,5,10,5),0,0));
  filtersPanel.add(priorityLabel,new GridBagConstraints(0,4,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(prioritySlider,new GridBagConstraints(0,5,1,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(2,5,10,5),0,0));
  filtersPanel.add(userLabel,new GridBagConstraints(0,6,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(usersListScrollPane,new GridBagConstraints(0,7,1,1,1.0,1.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(2,0,0,0),0,0));
  JPanel dataPanel=new JPanel();
  dataPanel.setLayout(new GridBagLayout());
  dataPanel.add(issuesTableScrollPane,new GridBagConstraints(0,0,1,1,1.0,0.5,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  dataPanel.add(descriptionsTableScrollPane,new GridBagConstraints(0,1,1,1,1.0,0.5,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  JPanel mainPanel=new JPanel(new GridBagLayout());
  mainPanel.add(iconBar,new GridBagConstraints(0,0,2,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  mainPanel.add(filtersPanel,new GridBagConstraints(0,1,1,1,0.0,1.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  mainPanel.add(dataPanel,new GridBagConstraints(1,1,1,1,1.0,1.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  return mainPanel;
}

Fixed version (ground truth):
/** 
 * Display a frame for browsing issues.
 */
private JPanel constructView(){
  final JTextField filterTextField=new JTextField();
  final MatcherEditor textFilterMatcherEditor=new ThreadedMatcherEditor(new TextComponentMatcherEditor(filterTextField,null));
  StatusMatcherEditor statusMatcherEditor=new StatusMatcherEditor(issuesEventList);
  SwingUsersMatcherEditor userMatcherEditor=new SwingUsersMatcherEditor(issuesEventList);
  FilterList issuesUserFiltered=new FilterList(issuesEventList,userMatcherEditor);
  FilterList issuesStatusFiltered=new FilterList(issuesUserFiltered,statusMatcherEditor);
  FilterList issuesTextFiltered=new FilterList(issuesStatusFiltered,textFilterMatcherEditor);
  ThresholdList priorityList=new ThresholdList(issuesTextFiltered,"String_Node_Str");
  final SortedList issuesSortedList=new SortedList(priorityList,null);
  issuesSortedList.setMode(SortedList.AVOID_MOVING_ELEMENTS);
  issuesTableModel=new EventTableModel(issuesSortedList,new IssueTableFormat());
  JTable issuesJTable=new JTable(issuesTableModel);
  issuesSelectionModel=new EventSelectionModel(issuesSortedList);
  issuesSelectionModel.setSelectionMode(ListSelection.MULTIPLE_INTERVAL_SELECTION_DEFENSIVE);
  issuesSelectionModel.addListSelectionListener(new IssuesSelectionListener());
  issuesJTable.setSelectionModel(issuesSelectionModel);
  issuesJTable.getColumnModel().getColumn(0).setPreferredWidth(10);
  issuesJTable.getColumnModel().getColumn(1).setPreferredWidth(30);
  issuesJTable.getColumnModel().getColumn(2).setPreferredWidth(10);
  issuesJTable.getColumnModel().getColumn(3).setPreferredWidth(30);
  issuesJTable.getColumnModel().getColumn(4).setPreferredWidth(30);
  issuesJTable.getColumnModel().getColumn(5).setPreferredWidth(200);
  issuesJTable.setDefaultRenderer(Priority.class,new PriorityTableCellRenderer());
  new TableComparatorChooser(issuesJTable,issuesSortedList,true);
  JScrollPane issuesTableScrollPane=new JScrollPane(issuesJTable,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  JScrollPane usersListScrollPane=new JScrollPane(userMatcherEditor.getUserSelect(),JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  EventTableModel descriptionsTableModel=new EventTableModel(descriptions,new DescriptionTableFormat());
  JTable descriptionsTable=new JTable(descriptionsTableModel);
  descriptionsTable.setRowSelectionAllowed(false);
  descriptionsTable.getColumnModel().getColumn(0).setCellRenderer(new DescriptionRenderer());
  JScrollPane descriptionsTableScrollPane=new JScrollPane(descriptionsTable,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  BoundedRangeModel priorityRangeModel=GlazedListsSwing.lowerRangeModel(priorityList);
  priorityRangeModel.setRangeProperties(0,0,0,100,false);
  JSlider prioritySlider=new JSlider(priorityRangeModel);
  Hashtable prioritySliderLabels=new Hashtable();
  prioritySliderLabels.put(new Integer(0),new JLabel("String_Node_Str"));
  prioritySliderLabels.put(new Integer(100),new JLabel("String_Node_Str"));
  prioritySlider.setOpaque(false);
  prioritySlider.setLabelTable(prioritySliderLabels);
  prioritySlider.setSnapToTicks(true);
  prioritySlider.setPaintLabels(true);
  prioritySlider.setPaintTicks(true);
  prioritySlider.setForeground(UIManager.getColor("String_Node_Str"));
  prioritySlider.setMajorTickSpacing(25);
  prioritySlider.setForeground(Color.BLACK);
  EventList projects=Project.getProjects();
  EventComboBoxModel projectsComboModel=new EventComboBoxModel(projects);
  JComboBox projectsCombo=new JComboBox(projectsComboModel);
  projectsCombo.setEditable(false);
  projectsCombo.setOpaque(false);
  projectsCombo.addItemListener(new ProjectChangeListener());
  projectsComboModel.setSelectedItem(new Project(null,"String_Node_Str"));
  issueCounter=new IssueCounterLabel(issuesSortedList);
  issueCounter.setHorizontalAlignment(SwingConstants.CENTER);
  issueCounter.setForeground(Color.WHITE);
  ClassLoader jarLoader=IssuesBrowser.class.getClassLoader();
  URL url=jarLoader.getResource("String_Node_Str");
  if (url != null)   throbberStatic=new ImageIcon(url);
  url=jarLoader.getResource("String_Node_Str");
  if (url != null)   throbberActive=new ImageIcon(url);
  throbber=new JLabel(throbberStatic);
  throbber.setHorizontalAlignment(SwingConstants.RIGHT);
  JPanel iconBar=new GradientPanel(GLAZED_LISTS_MEDIUM_BROWN,GLAZED_LISTS_DARK_BROWN,true);
  iconBar.setLayout(new GridLayout(1,3));
  iconBar.add(projectsCombo);
  iconBar.add(issueCounter);
  iconBar.add(throbber);
  iconBar.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
  JLabel textFilterLabel=new JLabel("String_Node_Str");
  textFilterLabel.setFont(textFilterLabel.getFont().deriveFont(11.0f));
  JLabel priorityLabel=new JLabel("String_Node_Str");
  priorityLabel.setFont(priorityLabel.getFont().deriveFont(11.0f));
  JLabel stateLabel=new JLabel("String_Node_Str");
  stateLabel.setFont(stateLabel.getFont().deriveFont(11.0f));
  JLabel userLabel=new JLabel("String_Node_Str");
  userLabel.setFont(userLabel.getFont().deriveFont(11.0f));
  JPanel filtersPanel=new JPanel();
  filtersPanel.setBackground(GLAZED_LISTS_LIGHT_BROWN);
  filtersPanel.setLayout(new GridBagLayout());
  filtersPanel.add(textFilterLabel,new GridBagConstraints(0,0,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(filterTextField,new GridBagConstraints(0,1,1,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(2,5,10,5),0,0));
  filtersPanel.add(stateLabel,new GridBagConstraints(0,2,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(statusMatcherEditor.getComponent(),new GridBagConstraints(0,3,1,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(2,5,10,5),0,0));
  filtersPanel.add(priorityLabel,new GridBagConstraints(0,4,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(prioritySlider,new GridBagConstraints(0,5,1,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(2,5,10,5),0,0));
  filtersPanel.add(userLabel,new GridBagConstraints(0,6,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(5,5,0,5),0,0));
  filtersPanel.add(usersListScrollPane,new GridBagConstraints(0,7,1,1,1.0,1.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(2,0,0,0),0,0));
  JPanel dataPanel=new JPanel();
  dataPanel.setLayout(new GridBagLayout());
  dataPanel.add(issuesTableScrollPane,new GridBagConstraints(0,0,1,1,1.0,0.5,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  dataPanel.add(descriptionsTableScrollPane,new GridBagConstraints(0,1,1,1,1.0,0.5,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  JPanel mainPanel=new JPanel(new GridBagLayout());
  mainPanel.add(iconBar,new GridBagConstraints(0,0,2,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  mainPanel.add(filtersPanel,new GridBagConstraints(0,1,1,1,0.0,1.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  mainPanel.add(dataPanel,new GridBagConstraints(1,1,1,1,1.0,1.0,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,0,0,0),0,0));
  return mainPanel;
}