Program: 73707
Project: 73707
Buggy source:
/** 
 * Called from within the constructor to initialize the form.
 */
@SuppressWarnings("String_Node_Str") private void _initComponents(){
  _listItemTextField=new JTextField();
  _jScrollPane1=new JScrollPane();
  _itemsJList=new JList();
  _addButton=new JButton();
  _deleteButton=new JButton();
  _editListItemsLabel=new JLabel();
  _saveButton=new JButton();
  setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
  _itemsJList.setModel(new ArrayModelList(_storedListItems));
  _itemsJList.addListSelectionListener(new ListSelectionListener(){
    @Override public void valueChanged(    ListSelectionEvent e){
      _deleteButton.setEnabled(true);
    }
  }
);
  _jScrollPane1.setViewportView(_itemsJList);
  _addButton.setText("String_Node_Str");
  _addButton.setEnabled(false);
  _addButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      if (!_validate()) {
        JOptionPane.showMessageDialog(AttributeListEditFrame.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
      }
 else {
        ((ArrayModelList)_itemsJList.getModel()).addItem(_listItemTextField.getText());
        _addButton.setEnabled(false);
        _listItemTextField.setText("String_Node_Str");
      }
    }
  }
);
  _deleteButton.setText("String_Node_Str");
  _deleteButton.setEnabled(false);
  _deleteButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      ((ArrayModelList)_itemsJList.getModel()).removeItem((String)_itemsJList.getSelectedValue());
      _deleteButton.setEnabled(false);
    }
  }
);
  _editListItemsLabel.setFont(new Font("String_Node_Str",1,18));
  _editListItemsLabel.setText("String_Node_Str");
  _saveButton.setText("String_Node_Str");
  javax.swing.GroupLayout layout=new javax.swing.GroupLayout(getContentPane());
  getContentPane().setLayout(layout);
  layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(javax.swing.GroupLayout.Alignment.TRAILING,layout.createSequentialGroup().addContainerGap(50,Short.MAX_VALUE).addComponent(_listItemTextField,javax.swing.GroupLayout.PREFERRED_SIZE,143,javax.swing.GroupLayout.PREFERRED_SIZE).addGap(18,18,18).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,false).addComponent(_deleteButton,0,0,Short.MAX_VALUE).addComponent(_addButton,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE)).addGap(18,18,18).addComponent(_jScrollPane1,javax.swing.GroupLayout.PREFERRED_SIZE,156,javax.swing.GroupLayout.PREFERRED_SIZE).addGap(62,62,62)).addGroup(layout.createSequentialGroup().addGap(28,28,28).addComponent(_editListItemsLabel).addContainerGap(380,Short.MAX_VALUE)).addGroup(layout.createSequentialGroup().addGap(224,224,224).addComponent(_saveButton,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE).addGap(241,241,241)));
  layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addGap(38,38,38).addComponent(_editListItemsLabel).addGap(76,76,76).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(_listItemTextField,javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.PREFERRED_SIZE).addComponent(_addButton)).addGap(30,30,30).addComponent(_deleteButton).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,79,Short.MAX_VALUE).addComponent(_saveButton).addGap(48,48,48)).addGroup(layout.createSequentialGroup().addGap(74,74,74).addComponent(_jScrollPane1,javax.swing.GroupLayout.PREFERRED_SIZE,202,javax.swing.GroupLayout.PREFERRED_SIZE).addContainerGap(105,Short.MAX_VALUE)));
  _listItemTextField.addKeyListener(new KeyListener(){
    @Override public void keyTyped(    KeyEvent e){
    }
    @Override public void keyReleased(    KeyEvent e){
      if (_listItemTextField.getText().isEmpty()) {
        _addButton.setEnabled(false);
      }
 else {
        _addButton.setEnabled(true);
      }
    }
    @Override public void keyPressed(    KeyEvent e){
    }
  }
);
  _saveButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      _parentFrame.setEnabled(true);
      AttributeListEditFrame.this.dispose();
    }
  }
);
  pack();
}

Fixed version (ground truth):
/** 
 * Called from within the constructor to initialize the form.
 */
@SuppressWarnings("String_Node_Str") private void _initComponents(){
  _listItemTextField=new JTextField();
  _jScrollPane1=new JScrollPane();
  _itemsJList=new JList();
  _addButton=new JButton();
  _deleteButton=new JButton();
  _editListItemsLabel=new JLabel();
  _saveButton=new JButton();
  addWindowListener(new WindowListener(){
    @Override public void windowOpened(    WindowEvent e){
    }
    @Override public void windowIconified(    WindowEvent e){
    }
    @Override public void windowDeiconified(    WindowEvent e){
    }
    @Override public void windowDeactivated(    WindowEvent e){
    }
    @Override public void windowClosing(    WindowEvent e){
      _parentFrame.setEnabled(true);
      AttributeListEditFrame.this.dispose();
    }
    @Override public void windowClosed(    WindowEvent e){
      _parentFrame.setEnabled(true);
      AttributeListEditFrame.this.dispose();
    }
    @Override public void windowActivated(    WindowEvent e){
    }
  }
);
  _itemsJList.setModel(new ArrayModelList(_storedListItems));
  _itemsJList.addListSelectionListener(new ListSelectionListener(){
    @Override public void valueChanged(    ListSelectionEvent e){
      _deleteButton.setEnabled(true);
    }
  }
);
  _jScrollPane1.setViewportView(_itemsJList);
  _addButton.setText("String_Node_Str");
  _addButton.setEnabled(false);
  _addButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      if (!_validate()) {
        JOptionPane.showMessageDialog(AttributeListEditFrame.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
      }
 else {
        ((ArrayModelList)_itemsJList.getModel()).addItem(_listItemTextField.getText());
        _addButton.setEnabled(false);
        _listItemTextField.setText("String_Node_Str");
      }
    }
  }
);
  _deleteButton.setText("String_Node_Str");
  _deleteButton.setEnabled(false);
  _deleteButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      ((ArrayModelList)_itemsJList.getModel()).removeItem((String)_itemsJList.getSelectedValue());
      _deleteButton.setEnabled(false);
    }
  }
);
  _editListItemsLabel.setFont(new Font("String_Node_Str",1,18));
  _editListItemsLabel.setText("String_Node_Str");
  _saveButton.setText("String_Node_Str");
  javax.swing.GroupLayout layout=new javax.swing.GroupLayout(getContentPane());
  getContentPane().setLayout(layout);
  layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(javax.swing.GroupLayout.Alignment.TRAILING,layout.createSequentialGroup().addContainerGap(50,Short.MAX_VALUE).addComponent(_listItemTextField,javax.swing.GroupLayout.PREFERRED_SIZE,143,javax.swing.GroupLayout.PREFERRED_SIZE).addGap(18,18,18).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,false).addComponent(_deleteButton,0,0,Short.MAX_VALUE).addComponent(_addButton,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE)).addGap(18,18,18).addComponent(_jScrollPane1,javax.swing.GroupLayout.PREFERRED_SIZE,156,javax.swing.GroupLayout.PREFERRED_SIZE).addGap(62,62,62)).addGroup(layout.createSequentialGroup().addGap(28,28,28).addComponent(_editListItemsLabel).addContainerGap(380,Short.MAX_VALUE)).addGroup(layout.createSequentialGroup().addGap(224,224,224).addComponent(_saveButton,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE).addGap(241,241,241)));
  layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addGap(38,38,38).addComponent(_editListItemsLabel).addGap(76,76,76).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(_listItemTextField,javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.PREFERRED_SIZE).addComponent(_addButton)).addGap(30,30,30).addComponent(_deleteButton).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,79,Short.MAX_VALUE).addComponent(_saveButton).addGap(48,48,48)).addGroup(layout.createSequentialGroup().addGap(74,74,74).addComponent(_jScrollPane1,javax.swing.GroupLayout.PREFERRED_SIZE,202,javax.swing.GroupLayout.PREFERRED_SIZE).addContainerGap(105,Short.MAX_VALUE)));
  _listItemTextField.addKeyListener(new KeyListener(){
    @Override public void keyTyped(    KeyEvent e){
    }
    @Override public void keyReleased(    KeyEvent e){
      if (_listItemTextField.getText().isEmpty()) {
        _addButton.setEnabled(false);
      }
 else {
        _addButton.setEnabled(true);
      }
    }
    @Override public void keyPressed(    KeyEvent e){
    }
  }
);
  _saveButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      _parentFrame.setEnabled(true);
      AttributeListEditFrame.this.dispose();
    }
  }
);
  pack();
}