Program: 154349
Project: 154349
Buggy source:
private void initializeComponents(){
  Border txtBorder=BorderFactory.createBevelBorder(BevelBorder.LOWERED);
  JPanel pnlChatArea=new JPanel();
  pnlChatArea.setBounds(202,374,572,177);
  pnlChatArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  getContentPane().add(pnlChatArea);
  pnlChatArea.setLayout(null);
  JPanel pnlChatLogArea=new JPanel();
  pnlChatLogArea.setBounds(10,21,552,114);
  pnlChatArea.add(pnlChatLogArea);
  lstModelChat=new DefaultListModel();
  JList lstChatLog=new JList(lstModelChat);
  lstChatLog.setBounds(0,0,pnlChatLogArea.getWidth(),50);
  lstChatLog.setPrototypeCellValue("String_Node_Str");
  lstChatLog.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  lstChatLog.setBackground(getBackground());
  lstChatLog.setBorder(BorderFactory.createEmptyBorder());
  pnlChatLogArea.add(new JScrollPane(lstChatLog));
  txtChatSendMsg=new JTextField();
  txtChatSendMsg.setBorder(txtBorder);
  txtChatSendMsg.setBounds(10,146,453,20);
  pnlChatArea.add(txtChatSendMsg);
  txtChatSendMsg.setColumns(10);
  btnSend=new JButton("String_Node_Str");
  btnSend.setBounds(473,146,89,23);
  btnSend.addActionListener(new ActionListenerImpl());
  pnlChatArea.add(btnSend);
  JPanel pnlLogArea=new JPanel();
  pnlLogArea.setBounds(202,11,572,362);
  pnlLogArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  getContentPane().add(pnlLogArea);
  pnlLogArea.setLayout(null);
  JPanel pnlLogList=new JPanel();
  pnlLogList.setLayout(null);
  pnlLogList.setBounds(10,21,552,149);
  pnlLogArea.add(pnlLogList);
  treeRootNode=new DefaultMutableTreeNode("String_Node_Str");
  lstLogTree=new JTree(treeRootNode);
  lstLogTree.setRootVisible(true);
  lstLogTree.setBounds(0,0,pnlLogList.getWidth(),pnlLogList.getHeight() - 5);
  lstLogTree.setSize(pnlLogList.getWidth(),pnlLogList.getHeight() - 5);
  lstLogTree.addTreeSelectionListener(new TreeListAction());
  JScrollPane scrollPane=new JScrollPane(lstLogTree);
  lstLogTreeModel=(DefaultTreeModel)lstLogTree.getModel();
  scrollPane.setSize(pnlLogList.getWidth(),pnlLogList.getHeight());
  pnlLogList.add(scrollPane);
  JPanel pnlLogDetailedInfo=new JPanel();
  pnlLogDetailedInfo.setBounds(10,172,552,179);
  pnlLogArea.add(pnlLogDetailedInfo);
  pnlLogDetailedInfo.setLayout(null);
  txtLogInfo=new TextArea("String_Node_Str",5,50,TextArea.SCROLLBARS_VERTICAL_ONLY);
  txtLogInfo.setBackground(getBackground());
  txtLogInfo.setEditable(false);
  txtLogInfo.setBounds(10,22,532,147);
  pnlLogDetailedInfo.add(txtLogInfo);
  JPanel pnlConnectionsArea=new JPanel();
  pnlConnectionsArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  pnlConnectionsArea.setBounds(10,11,182,309);
  getContentPane().add(pnlConnectionsArea);
  pnlConnectionsArea.setLayout(null);
  JLabel lblEnterHostname=new JLabel("String_Node_Str");
  lblEnterHostname.setBounds(10,21,162,14);
  pnlConnectionsArea.add(lblEnterHostname);
  txtAddConnection=new JTextField();
  txtAddConnection.setBorder(txtBorder);
  txtAddConnection.setBounds(10,46,92,20);
  pnlConnectionsArea.add(txtAddConnection);
  txtAddConnection.setColumns(10);
  btnAddConnection=new JButton("String_Node_Str");
  btnAddConnection.setBounds(111,45,61,23);
  btnAddConnection.addActionListener(new ActionListenerImpl());
  pnlConnectionsArea.add(btnAddConnection);
  JLabel lblExistingSessions=new JLabel("String_Node_Str");
  lblExistingSessions.setBounds(10,90,162,14);
  pnlConnectionsArea.add(lblExistingSessions);
  JSeparator separator=new JSeparator();
  separator.setBounds(10,77,162,2);
  pnlConnectionsArea.add(separator);
  JLabel lblChosenCipherSuite=new JLabel("String_Node_Str");
  lblChosenCipherSuite.setBounds(10,235,162,14);
  pnlConnectionsArea.add(lblChosenCipherSuite);
  lblChosenCipherSuite.setEnabled(false);
  lblActiveCipherSuite=new JLabel("String_Node_Str");
  lblActiveCipherSuite.setEnabled(false);
  lblActiveCipherSuite.setBounds(10,253,162,20);
  pnlConnectionsArea.add(lblActiveCipherSuite);
  lstModelSessions=new DefaultListModel();
  lstExistingSessions=new JList(lstModelSessions);
  lstExistingSessions.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  lstExistingSessions.setBounds(10,124,pnlConnectionsArea.getWidth() - 20,100);
  lstExistingSessions.setPrototypeCellValue("String_Node_Str");
  lstExistingSessions.addMouseListener(new ListAction());
  pnlConnectionsArea.add((lstExistingSessions));
  JLabel lblSessionTimeoutInfo=new JLabel("String_Node_Str");
  lblSessionTimeoutInfo.setBounds(10,284,110,14);
  pnlConnectionsArea.add(lblSessionTimeoutInfo);
  lblSessionTimeout=new JLabel("String_Node_Str");
  lblSessionTimeout.setBounds(130,284,46,14);
  pnlConnectionsArea.add(lblSessionTimeout);
  JPanel pnlSettingsArea=new JPanel();
  pnlSettingsArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  pnlSettingsArea.setBounds(10,320,182,231);
  getContentPane().add(pnlSettingsArea);
  pnlSettingsArea.setLayout(null);
  JPanel pnlCipherSuites=new JPanel();
  pnlCipherSuites.setBounds(10,20,162,166);
  pnlSettingsArea.add(pnlCipherSuites);
  pnlCipherSuites.setLayout(null);
  JLabel lblCipherSuites=new JLabel("String_Node_Str");
  lblCipherSuites.setBounds(0,0,142,14);
  pnlCipherSuites.add(lblCipherSuites);
  btnPerformance=new JButton("String_Node_Str");
  btnPerformance.setBounds(10,197,162,23);
  btnPerformance.addActionListener(new ActionListenerImpl());
  pnlSettingsArea.add(btnPerformance);
  int i=17;
  for (  CipherSuite s : TLSEngine.allCipherSuites) {
    JCheckBox cbxCipherSuite=new JCheckBox(s.getName());
    cbxCipherSuite.setToolTipText(s.getName());
    cbxCipherSuite.setBounds(0,i,160,20);
    cbxCipherSuite.setSelected(s.isEnabled());
    cbxCipherSuite.addActionListener(new ActionListenerImpl());
    pnlCipherSuites.add(cbxCipherSuite);
    i=i + 20;
  }
  JLabel lblCompressionMethods=new JLabel("String_Node_Str");
  lblCompressionMethods.setBounds(0,i,160,20);
  pnlCipherSuites.add(lblCompressionMethods);
  i=i + 20;
  for (  ICompression comp : ICompression.allCompressionMethods) {
    if (!comp.getName().equals("String_Node_Str")) {
      JCheckBox cbxCompression=new JCheckBox(comp.getName());
      cbxCompression.setSelected(comp.isEnabled());
      cbxCompression.addActionListener(new ActionListenerImpl());
      cbxCompression.setBounds(0,i,160,20);
      pnlCipherSuites.add(cbxCompression);
      i=i + 20;
    }
  }
  addConnection("String_Node_Str",false);
  test();
  repaint();
}

Fixed version (ground truth):
private void initializeComponents(){
  Border txtBorder=BorderFactory.createBevelBorder(BevelBorder.LOWERED);
  JPanel pnlChatArea=new JPanel();
  pnlChatArea.setBounds(202,374,572,177);
  pnlChatArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  getContentPane().add(pnlChatArea);
  pnlChatArea.setLayout(null);
  JPanel pnlChatLogArea=new JPanel();
  pnlChatLogArea.setBounds(10,21,552,114);
  pnlChatArea.add(pnlChatLogArea);
  lstModelChat=new DefaultListModel();
  JList lstChatLog=new JList(lstModelChat);
  lstChatLog.setBounds(0,0,pnlChatLogArea.getWidth(),50);
  lstChatLog.setPrototypeCellValue("String_Node_Str");
  lstChatLog.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  lstChatLog.setBackground(getBackground());
  lstChatLog.setBorder(BorderFactory.createEmptyBorder());
  pnlChatLogArea.add(new JScrollPane(lstChatLog));
  txtChatSendMsg=new JTextField();
  txtChatSendMsg.setBorder(txtBorder);
  txtChatSendMsg.setBounds(10,146,453,20);
  pnlChatArea.add(txtChatSendMsg);
  txtChatSendMsg.setColumns(10);
  btnSend=new JButton("String_Node_Str");
  btnSend.setBounds(473,146,89,23);
  btnSend.addActionListener(new ActionListenerImpl());
  pnlChatArea.add(btnSend);
  JPanel pnlLogArea=new JPanel();
  pnlLogArea.setBounds(202,11,572,362);
  pnlLogArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  getContentPane().add(pnlLogArea);
  pnlLogArea.setLayout(null);
  JPanel pnlLogList=new JPanel();
  pnlLogList.setLayout(null);
  pnlLogList.setBounds(10,21,552,149);
  pnlLogArea.add(pnlLogList);
  treeRootNode=new DefaultMutableTreeNode("String_Node_Str");
  lstLogTree=new JTree(treeRootNode);
  lstLogTree.setRootVisible(true);
  lstLogTree.setBounds(0,0,pnlLogList.getWidth(),pnlLogList.getHeight() - 5);
  lstLogTree.setSize(pnlLogList.getWidth(),pnlLogList.getHeight() - 5);
  lstLogTree.addTreeSelectionListener(new TreeListAction());
  JScrollPane scrollPane=new JScrollPane(lstLogTree);
  lstLogTreeModel=(DefaultTreeModel)lstLogTree.getModel();
  scrollPane.setSize(pnlLogList.getWidth(),pnlLogList.getHeight());
  pnlLogList.add(scrollPane);
  JPanel pnlLogDetailedInfo=new JPanel();
  pnlLogDetailedInfo.setBounds(10,172,552,179);
  pnlLogArea.add(pnlLogDetailedInfo);
  pnlLogDetailedInfo.setLayout(null);
  txtLogInfo=new TextArea("String_Node_Str",5,50,TextArea.SCROLLBARS_VERTICAL_ONLY);
  txtLogInfo.setBackground(getBackground());
  txtLogInfo.setEditable(false);
  txtLogInfo.setBounds(10,22,532,147);
  pnlLogDetailedInfo.add(txtLogInfo);
  JPanel pnlConnectionsArea=new JPanel();
  pnlConnectionsArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  pnlConnectionsArea.setBounds(10,11,182,309);
  getContentPane().add(pnlConnectionsArea);
  pnlConnectionsArea.setLayout(null);
  JLabel lblEnterHostname=new JLabel("String_Node_Str");
  lblEnterHostname.setBounds(10,21,162,14);
  pnlConnectionsArea.add(lblEnterHostname);
  txtAddConnection=new JTextField();
  txtAddConnection.setBorder(txtBorder);
  txtAddConnection.setBounds(10,46,92,20);
  pnlConnectionsArea.add(txtAddConnection);
  txtAddConnection.setColumns(10);
  btnAddConnection=new JButton("String_Node_Str");
  btnAddConnection.setBounds(111,45,61,23);
  btnAddConnection.addActionListener(new ActionListenerImpl());
  pnlConnectionsArea.add(btnAddConnection);
  JLabel lblExistingSessions=new JLabel("String_Node_Str");
  lblExistingSessions.setBounds(10,90,162,14);
  pnlConnectionsArea.add(lblExistingSessions);
  JSeparator separator=new JSeparator();
  separator.setBounds(10,77,162,2);
  pnlConnectionsArea.add(separator);
  JLabel lblChosenCipherSuite=new JLabel("String_Node_Str");
  lblChosenCipherSuite.setBounds(10,235,162,14);
  pnlConnectionsArea.add(lblChosenCipherSuite);
  lblChosenCipherSuite.setEnabled(false);
  lblActiveCipherSuite=new JLabel("String_Node_Str");
  lblActiveCipherSuite.setEnabled(false);
  lblActiveCipherSuite.setBounds(10,253,162,20);
  pnlConnectionsArea.add(lblActiveCipherSuite);
  lstModelSessions=new DefaultListModel();
  lstExistingSessions=new JList(lstModelSessions);
  lstExistingSessions.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  lstExistingSessions.setBounds(10,124,pnlConnectionsArea.getWidth() - 20,100);
  lstExistingSessions.setPrototypeCellValue("String_Node_Str");
  lstExistingSessions.addMouseListener(new ListAction());
  pnlConnectionsArea.add((lstExistingSessions));
  JLabel lblSessionTimeoutInfo=new JLabel("String_Node_Str");
  lblSessionTimeoutInfo.setBounds(10,284,110,14);
  pnlConnectionsArea.add(lblSessionTimeoutInfo);
  lblSessionTimeout=new JLabel("String_Node_Str");
  lblSessionTimeout.setBounds(130,284,46,14);
  pnlConnectionsArea.add(lblSessionTimeout);
  JPanel pnlSettingsArea=new JPanel();
  pnlSettingsArea.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  pnlSettingsArea.setBounds(10,320,182,231);
  getContentPane().add(pnlSettingsArea);
  pnlSettingsArea.setLayout(null);
  JPanel pnlCipherSuites=new JPanel();
  pnlCipherSuites.setBounds(10,20,162,166);
  pnlSettingsArea.add(pnlCipherSuites);
  pnlCipherSuites.setLayout(null);
  JLabel lblCipherSuites=new JLabel("String_Node_Str");
  lblCipherSuites.setBounds(0,0,142,14);
  pnlCipherSuites.add(lblCipherSuites);
  btnPerformance=new JButton("String_Node_Str");
  btnPerformance.setBounds(10,197,162,23);
  btnPerformance.addActionListener(new ActionListenerImpl());
  pnlSettingsArea.add(btnPerformance);
  int i=17;
  for (  CipherSuite s : TLSEngine.allCipherSuites) {
    JCheckBox cbxCipherSuite=new JCheckBox(s.getName());
    cbxCipherSuite.setToolTipText(s.getName());
    cbxCipherSuite.setBounds(0,i,160,20);
    cbxCipherSuite.setSelected(s.isEnabled());
    cbxCipherSuite.addActionListener(new ActionListenerImpl());
    pnlCipherSuites.add(cbxCipherSuite);
    i=i + 20;
  }
  JLabel lblCompressionMethods=new JLabel("String_Node_Str");
  lblCompressionMethods.setBounds(0,i,160,20);
  pnlCipherSuites.add(lblCompressionMethods);
  i=i + 20;
  for (  ICompression comp : ICompression.allCompressionMethods) {
    if (!comp.getName().equals("String_Node_Str")) {
      JCheckBox cbxCompression=new JCheckBox(comp.getName());
      cbxCompression.setSelected(comp.isEnabled());
      cbxCompression.addActionListener(new ActionListenerImpl());
      cbxCompression.setBounds(0,i,160,20);
      pnlCipherSuites.add(cbxCompression);
      i=i + 20;
    }
  }
  addConnection("String_Node_Str",false);
  repaint();
}