Program: 103032
Project: 103032
Buggy source:
/** 
 * Creating the configuration form
 */
private void init(){
  TransparentPanel centerPanel=new TransparentPanel(new GridBagLayout());
  GridBagConstraints constraints=new GridBagConstraints();
  constraints.fill=GridBagConstraints.HORIZONTAL;
  constraints.anchor=GridBagConstraints.NORTHWEST;
  constraints.insets=new Insets(5,10,0,0);
  constraints.gridx=0;
  constraints.weightx=0;
  constraints.weighty=0;
  constraints.gridy=0;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridy=1;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridy=2;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridy=3;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.weightx=1;
  constraints.gridx=1;
  constraints.gridy=0;
  constraints.gridwidth=3;
  typeCombo=new JComboBox(ProxyInfo.ProxyType.values());
  typeCombo.setEditable(false);
  centerPanel.add(typeCombo,constraints);
  constraints.gridy=1;
  constraints.gridwidth=1;
  centerPanel.add(serverAddressField,constraints);
  constraints.gridx=2;
  constraints.weightx=0;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridx=3;
  constraints.weightx=1;
  centerPanel.add(portField,constraints);
  constraints.gridx=1;
  constraints.gridwidth=3;
  constraints.gridy=2;
  centerPanel.add(usernameField,constraints);
  constraints.gridy=3;
  centerPanel.add(passwordField,constraints);
  constraints.gridx=0;
  constraints.gridy=4;
  constraints.gridwidth=4;
  constraints.gridheight=2;
  constraints.insets=new Insets(15,15,0,15);
  JTextPane pane=new JTextPane();
  pane.setEditable(false);
  pane.setOpaque(false);
  pane.setText(Resources.getResources().getI18NString("String_Node_Str",new String[]{Resources.getResources().getSettingsString("String_Node_Str")}));
  centerPanel.add(pane,constraints);
  constraints.gridx=0;
  constraints.gridy=6;
  constraints.gridwidth=4;
  constraints.gridheight=2;
  constraints.insets=new Insets(20,20,20,20);
  JEditorPane table=new JEditorPane();
  table.setContentType("String_Node_Str");
  table.setEditable(false);
  table.setOpaque(false);
  table.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES,Boolean.TRUE);
  table.setText(Resources.getString("String_Node_Str"));
  centerPanel.add(table,constraints);
  constraints.weightx=0;
  constraints.gridx=0;
  constraints.gridy=9;
  constraints.gridwidth=4;
  constraints.gridheight=1;
  constraints.insets=new Insets(5,10,0,0);
  dnsForwardCheck.setText(Resources.getResources().getI18NString("String_Node_Str"));
  centerPanel.add(dnsForwardCheck,constraints);
  constraints.gridy=10;
  constraints.insets=new Insets(0,38,0,0);
  String dnsForwardLabelText=Resources.getResources().getI18NString("String_Node_Str");
  JTextPane dnspane=new JTextPane();
  dnspane.setEditable(false);
  dnspane.setOpaque(false);
  dnspane.setText(dnsForwardLabelText);
  dnspane.setForeground(Color.GRAY);
  dnspane.setFont(dnspane.getFont().deriveFont(8));
  centerPanel.add(dnspane,constraints);
  constraints.gridy=11;
  constraints.gridwidth=4;
  constraints.gridheight=2;
  dnsAddressPane=new TransparentPanel(new GridLayout(2,2));
  dnsAddressPane.add(new JLabel(Resources.getResources().getI18NString("String_Node_Str")));
  dnsAddressPane.add(dnsForwardServerAddressField);
  dnsAddressPane.add(new JLabel(Resources.getResources().getI18NString("String_Node_Str")));
  dnsAddressPane.add(dnsForwardPortField);
  dnsAddressPane.setVisible(false);
  centerPanel.add(dnsAddressPane,constraints);
  add(centerPanel,BorderLayout.NORTH);
  loadValues();
  serverAddressField.addKeyListener(this);
  portField.addKeyListener(this);
  usernameField.addKeyListener(this);
  passwordField.addKeyListener(this);
  typeCombo.addActionListener(this);
  dnsForwardServerAddressField.addKeyListener(this);
  dnsForwardPortField.addKeyListener(this);
  dnsForwardCheck.addActionListener(this);
}

Fixed version (ground truth):
/** 
 * Creating the configuration form
 */
private void init(){
  TransparentPanel centerPanel=new TransparentPanel(new GridBagLayout());
  GridBagConstraints constraints=new GridBagConstraints();
  constraints.fill=GridBagConstraints.HORIZONTAL;
  constraints.anchor=GridBagConstraints.NORTHWEST;
  constraints.insets=new Insets(5,10,0,0);
  constraints.gridx=0;
  constraints.weightx=0;
  constraints.weighty=0;
  constraints.gridy=0;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridy=1;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridy=2;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridy=3;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.weightx=1;
  constraints.gridx=1;
  constraints.gridy=0;
  constraints.gridwidth=3;
  typeCombo=new JComboBox(ProxyInfo.ProxyType.values());
  typeCombo.setEditable(false);
  centerPanel.add(typeCombo,constraints);
  constraints.gridy=1;
  constraints.gridwidth=1;
  centerPanel.add(serverAddressField,constraints);
  constraints.gridx=2;
  constraints.weightx=0;
  centerPanel.add(new JLabel(Resources.getString("String_Node_Str")),constraints);
  constraints.gridx=3;
  constraints.weightx=1;
  centerPanel.add(portField,constraints);
  constraints.gridx=1;
  constraints.gridwidth=3;
  constraints.gridy=2;
  centerPanel.add(usernameField,constraints);
  constraints.gridy=3;
  centerPanel.add(passwordField,constraints);
  constraints.gridx=0;
  constraints.gridy=4;
  constraints.gridwidth=4;
  constraints.gridheight=2;
  constraints.insets=new Insets(15,15,0,15);
  JTextPane pane=new JTextPane();
  pane.setEditable(false);
  pane.setOpaque(false);
  pane.setText(Resources.getResources().getI18NString("String_Node_Str",new String[]{Resources.getResources().getSettingsString("String_Node_Str")}));
  centerPanel.add(pane,constraints);
  constraints.gridx=0;
  constraints.gridy=6;
  constraints.gridwidth=4;
  constraints.gridheight=2;
  constraints.insets=new Insets(0,20,0,20);
  JEditorPane table=new JEditorPane();
  table.setContentType("String_Node_Str");
  table.setEditable(false);
  table.setOpaque(false);
  table.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES,Boolean.TRUE);
  table.setText(Resources.getString("String_Node_Str"));
  centerPanel.add(table,constraints);
  constraints.weightx=0;
  constraints.gridx=0;
  constraints.gridy=9;
  constraints.gridwidth=4;
  constraints.gridheight=1;
  constraints.insets=new Insets(5,10,0,0);
  dnsForwardCheck.setText(Resources.getResources().getI18NString("String_Node_Str"));
  centerPanel.add(dnsForwardCheck,constraints);
  constraints.gridy=10;
  constraints.insets=new Insets(0,38,0,0);
  String dnsForwardLabelText=Resources.getResources().getI18NString("String_Node_Str");
  JTextPane dnspane=new JTextPane();
  dnspane.setEditable(false);
  dnspane.setOpaque(false);
  dnspane.setText(dnsForwardLabelText);
  dnspane.setForeground(Color.GRAY);
  dnspane.setFont(dnspane.getFont().deriveFont(8));
  centerPanel.add(dnspane,constraints);
  constraints.gridy=11;
  constraints.gridwidth=4;
  constraints.gridheight=2;
  dnsAddressPane=new TransparentPanel(new GridLayout(2,2));
  dnsAddressPane.add(new JLabel(Resources.getResources().getI18NString("String_Node_Str")));
  dnsAddressPane.add(dnsForwardServerAddressField);
  dnsAddressPane.add(new JLabel(Resources.getResources().getI18NString("String_Node_Str")));
  dnsAddressPane.add(dnsForwardPortField);
  dnsAddressPane.setVisible(false);
  centerPanel.add(dnsAddressPane,constraints);
  add(centerPanel,BorderLayout.NORTH);
  loadValues();
  serverAddressField.addKeyListener(this);
  portField.addKeyListener(this);
  usernameField.addKeyListener(this);
  passwordField.addKeyListener(this);
  typeCombo.addActionListener(this);
  dnsForwardServerAddressField.addKeyListener(this);
  dnsForwardPortField.addKeyListener(this);
  dnsForwardCheck.addActionListener(this);
}