Program: 185142
Project: 185142
Buggy source:
public DatabaseSearchUI(){
  setLayout(new BorderLayout());
  JPanel displayNamePanel=new JPanel(new BorderLayout());
  JLabel displayNameLabel=new JLabel("String_Node_Str");
  baseDisplayedNameField=new JTextField();
  baseDisplayedNameField.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      if (goButton.isEnabled())       goButton.doClick();
    }
  }
);
  displayNameLabel.setLabelFor(baseDisplayedNameField);
  displayNamePanel.add(baseDisplayedNameField,BorderLayout.CENTER);
  displayNamePanel.add(displayNameLabel,BorderLayout.WEST);
  goButton=new JButton();
  String searchButtonText="String_Node_Str";
  goButton.getAccessibleContext().setAccessibleName(searchButtonText);
  goButton.setAction(new AbstractAction(searchButtonText){
    @Override public void actionPerformed(    ActionEvent e){
      goButton.setEnabled(false);
      SearchTask task=new SearchTask();
      listModel.removeAllElements();
      resultStatus.setText(null);
      task.execute();
    }
  }
);
  JPanel displayNameAndGoPanel=new JPanel(new BorderLayout());
  displayNameAndGoPanel.add(displayNamePanel,BorderLayout.CENTER);
  displayNameAndGoPanel.add(goButton,BorderLayout.EAST);
  listModel=new DefaultListModel();
  list=new JList(listModel);
  list.getAccessibleContext().setAccessibleName("String_Node_Str");
  list.setCellRenderer(new DefaultListCellRenderer(){
    @Override public Component getListCellRendererComponent(    JList list,    Object value,    int index,    boolean isSelected,    boolean cellHasFocus){
      ComponentInfo ci=(ComponentInfo)value;
      JLabel label=(JLabel)super.getListCellRendererComponent(list,ci.name,index,isSelected,cellHasFocus);
      label.setIcon(AbstractComponent.getIconForComponentType(ci.type));
      return label;
    }
  }
);
  list.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
  list.addListSelectionListener(new ListSelectionListener(){
    @Override public void valueChanged(    ListSelectionEvent e){
      if (!e.getValueIsAdjusting()) {
        Collection<View> selectedManifestations=getSelectedManifestations();
        if (!selectedManifestations.isEmpty()) {
          firePropertyChange(SelectionProvider.SELECTION_CHANGED_PROP,null,selectedManifestations);
        }
      }
    }
  }
);
  list.addMouseListener(new MouseAdapter(){
    @Override public void mousePressed(    MouseEvent e){
      Collection<View> selectedManifestations=getSelectedManifestations();
      if (selectedManifestations.isEmpty())       return;
      View manifestation=selectedManifestations.iterator().next();
      if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() == 2) {
        manifestation.getManifestedComponent().open();
        return;
      }
    }
  }
);
  list.setDragEnabled(true);
  list.setTransferHandler(new TransferHandler(){
    @Override protected Transferable createTransferable(    JComponent c){
      List<View> viewRoles=new ArrayList<View>();
      Collection<View> selectedManifestations=getSelectedManifestations();
      if (!selectedManifestations.isEmpty()) {
        for (        View manifestation : getSelectedManifestations())         viewRoles.add(manifestation);
        return new ViewRoleSelection(viewRoles.toArray(new View[viewRoles.size()]));
      }
 else {
        return null;
      }
    }
    @Override public int getSourceActions(    JComponent c){
      return TransferHandler.COPY;
    }
  }
);
  JPanel controlPanel=new JPanel(new GridLayout(2,1,5,5));
  controlPanel.add(displayNameAndGoPanel);
  findObjectsCreatedByMe=new JCheckBox("String_Node_Str");
  controlPanel.add(findObjectsCreatedByMe);
  JPanel descriptionPanel=new JPanel(new GridLayout(2,1));
  JLabel searchEverywhereLabel=new JLabel("String_Node_Str");
  searchEverywhereLabel.setFont(searchEverywhereLabel.getFont().deriveFont(Font.BOLD));
  resultStatus=new JLabel();
  resultStatus.setForeground(Color.BLUE);
  descriptionPanel.add(searchEverywhereLabel);
  descriptionPanel.add(resultStatus);
  JPanel upperPanel=new JPanel(new BorderLayout(PADDING,PADDING));
  upperPanel.setBorder(BorderFactory.createEmptyBorder(PADDING,PADDING,PADDING,PADDING));
  upperPanel.add(descriptionPanel,BorderLayout.NORTH);
  upperPanel.add(controlPanel,BorderLayout.CENTER);
  add(upperPanel,BorderLayout.NORTH);
  add(new JScrollPane(list),BorderLayout.CENTER);
}

Fixed version (ground truth):
public DatabaseSearchUI(){
  setLayout(new BorderLayout());
  JPanel displayNamePanel=new JPanel(new BorderLayout());
  JLabel displayNameLabel=new JLabel("String_Node_Str");
  baseDisplayedNameField=new JTextField();
  baseDisplayedNameField.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      if (goButton.isEnabled())       goButton.doClick();
    }
  }
);
  displayNameLabel.setLabelFor(baseDisplayedNameField);
  displayNamePanel.add(baseDisplayedNameField,BorderLayout.CENTER);
  displayNamePanel.add(displayNameLabel,BorderLayout.WEST);
  goButton=new JButton();
  String searchButtonText="String_Node_Str";
  goButton.getAccessibleContext().setAccessibleName(searchButtonText);
  goButton.setAction(new AbstractAction(searchButtonText){
    @Override public void actionPerformed(    ActionEvent e){
      goButton.setEnabled(false);
      SearchTask task=new SearchTask();
      listModel.removeAllElements();
      resultStatus.setText(null);
      task.execute();
    }
  }
);
  JPanel displayNameAndGoPanel=new JPanel(new BorderLayout());
  displayNameAndGoPanel.add(displayNamePanel,BorderLayout.CENTER);
  displayNameAndGoPanel.add(goButton,BorderLayout.EAST);
  listModel=new DefaultListModel();
  list=new JList(listModel);
  list.getAccessibleContext().setAccessibleName("String_Node_Str");
  list.setCellRenderer(new DefaultListCellRenderer(){
    @Override public Component getListCellRendererComponent(    JList list,    Object value,    int index,    boolean isSelected,    boolean cellHasFocus){
      ComponentInfo ci=(ComponentInfo)value;
      JLabel label=(JLabel)super.getListCellRendererComponent(list,ci.name,index,isSelected,cellHasFocus);
      label.setIcon(getIconForComponentType(ci.type));
      return label;
    }
  }
);
  list.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
  list.addListSelectionListener(new ListSelectionListener(){
    @Override public void valueChanged(    ListSelectionEvent e){
      if (!e.getValueIsAdjusting()) {
        Collection<View> selectedManifestations=getSelectedManifestations();
        if (!selectedManifestations.isEmpty()) {
          firePropertyChange(SelectionProvider.SELECTION_CHANGED_PROP,null,selectedManifestations);
        }
      }
    }
  }
);
  list.addMouseListener(new MouseAdapter(){
    @Override public void mousePressed(    MouseEvent e){
      Collection<View> selectedManifestations=getSelectedManifestations();
      if (selectedManifestations.isEmpty())       return;
      View manifestation=selectedManifestations.iterator().next();
      if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() == 2) {
        manifestation.getManifestedComponent().open();
        return;
      }
    }
  }
);
  list.setDragEnabled(true);
  list.setTransferHandler(new TransferHandler(){
    @Override protected Transferable createTransferable(    JComponent c){
      List<View> viewRoles=new ArrayList<View>();
      Collection<View> selectedManifestations=getSelectedManifestations();
      if (!selectedManifestations.isEmpty()) {
        for (        View manifestation : getSelectedManifestations())         viewRoles.add(manifestation);
        return new ViewRoleSelection(viewRoles.toArray(new View[viewRoles.size()]));
      }
 else {
        return null;
      }
    }
    @Override public int getSourceActions(    JComponent c){
      return TransferHandler.COPY;
    }
  }
);
  JPanel controlPanel=new JPanel(new GridLayout(2,1,5,5));
  controlPanel.add(displayNameAndGoPanel);
  findObjectsCreatedByMe=new JCheckBox("String_Node_Str");
  controlPanel.add(findObjectsCreatedByMe);
  JPanel descriptionPanel=new JPanel(new GridLayout(2,1));
  JLabel searchEverywhereLabel=new JLabel("String_Node_Str");
  searchEverywhereLabel.setFont(searchEverywhereLabel.getFont().deriveFont(Font.BOLD));
  resultStatus=new JLabel();
  resultStatus.setForeground(Color.BLUE);
  descriptionPanel.add(searchEverywhereLabel);
  descriptionPanel.add(resultStatus);
  JPanel upperPanel=new JPanel(new BorderLayout(PADDING,PADDING));
  upperPanel.setBorder(BorderFactory.createEmptyBorder(PADDING,PADDING,PADDING,PADDING));
  upperPanel.add(descriptionPanel,BorderLayout.NORTH);
  upperPanel.add(controlPanel,BorderLayout.CENTER);
  add(upperPanel,BorderLayout.NORTH);
  add(new JScrollPane(list),BorderLayout.CENTER);
}