Program: 111546
Project: 111546
Buggy source:
public OptionsDialog(OptionsDialogCallback cb_){
  super(false);
  cb=cb_;
  setResizable(false);
  setTitle("String_Node_Str");
  defaults=new UserPrefs("String_Node_Str");
  getContentPane().setLayout(new BoxLayout(getContentPane(),BoxLayout.PAGE_AXIS));
  JTabbedPane tabPane=new JTabbedPane();
  ButtonGroup encodingGroup=new ButtonGroup();
  ButtonGroup colourGroup=new ButtonGroup();
  FormatPanel=new JPanel(new GridBagLayout());
  autoSelect=new JCheckBox("String_Node_Str");
  autoSelect.addItemListener(this);
  JPanel encodingPanel=new JPanel(new GridBagLayout());
  encodingPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  zrle=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  hextile=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  tight=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  raw=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  JPanel tightPanel=new JPanel(new GridBagLayout());
  customCompressLevel=new JCheckBox("String_Node_Str");
  customCompressLevel.addItemListener(this);
  Object[] compressionLevels={1,2,3,4,5,6};
  compressLevel=new JComboBox(compressionLevels);
  JLabel compressionLabel=new JLabel("String_Node_Str");
  noJpeg=new JCheckBox("String_Node_Str");
  noJpeg.addItemListener(this);
  Object[] qualityLevels={0,1,2,3,4,5,6,7,8,9};
  qualityLevel=new JComboBox(qualityLevels);
  JLabel qualityLabel=new JLabel("String_Node_Str");
  if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    compressLevel.setBorder(BorderFactory.createCompoundBorder(compressLevel.getBorder(),BorderFactory.createEmptyBorder(0,1,0,0)));
  }
 else   if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    ComboBoxEditor editor=compressLevel.getEditor();
    JTextField jtf=(JTextField)editor.getEditorComponent();
    jtf.setBorder(new CompoundBorder(jtf.getBorder(),new EmptyBorder(0,2,0,0)));
  }
  Dimension size=compressLevel.getPreferredSize();
  compressLevel.setEditable(true);
  compressLevel.setPreferredSize(size);
  addGBComponent(customCompressLevel,tightPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(0,0,0,0));
  addGBComponent(compressLevel,tightPanel,0,1,1,1,2,2,0,0,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(0,20,0,0));
  addGBComponent(compressionLabel,tightPanel,1,1,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,5,0,0));
  addGBComponent(noJpeg,tightPanel,0,2,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,0,0,0));
  addGBComponent(qualityLevel,tightPanel,0,3,1,1,2,2,0,0,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(0,20,0,0));
  addGBComponent(qualityLabel,tightPanel,1,3,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,5,0,0));
  JPanel colourPanel=new JPanel(new GridBagLayout());
  colourPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  fullColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  mediumColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  lowColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  veryLowColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  addGBComponent(autoSelect,FormatPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  addGBComponent(encodingPanel,FormatPanel,0,1,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,10,0,5));
  addGBComponent(colourPanel,FormatPanel,1,1,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_END,new Insets(0,0,0,5));
  addGBComponent(tightPanel,FormatPanel,0,2,2,GridBagConstraints.REMAINDER,2,2,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(0,5,0,5));
  InputsPanel=new JPanel(new GridBagLayout());
  viewOnly=new JCheckBox("String_Node_Str");
  viewOnly.addItemListener(this);
  acceptClipboard=new JCheckBox("String_Node_Str");
  acceptClipboard.addItemListener(this);
  sendClipboard=new JCheckBox("String_Node_Str");
  sendClipboard.addItemListener(this);
  JLabel menuKeyLabel=new JLabel("String_Node_Str");
  String[] menuKeys={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  menuKey=new JComboBox(menuKeys);
  menuKey.addItemListener(this);
  addGBComponent(viewOnly,InputsPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(acceptClipboard,InputsPanel,0,1,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(sendClipboard,InputsPanel,0,2,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(menuKeyLabel,InputsPanel,0,3,1,GridBagConstraints.REMAINDER,2,2,1,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(8,8,0,5));
  addGBComponent(menuKey,InputsPanel,1,3,1,GridBagConstraints.REMAINDER,2,2,25,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  MiscPanel=new JPanel(new GridBagLayout());
  fullScreen=new JCheckBox("String_Node_Str");
  fullScreen.addItemListener(this);
  shared=new JCheckBox("String_Node_Str");
  shared.addItemListener(this);
  useLocalCursor=new JCheckBox("String_Node_Str");
  useLocalCursor.addItemListener(this);
  acceptBell=new JCheckBox("String_Node_Str");
  acceptBell.addItemListener(this);
  JLabel scalingFactorLabel=new JLabel("String_Node_Str");
  Object[] scalingFactors={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  scalingFactor=new JComboBox(scalingFactors);
  if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    scalingFactor.setBorder(BorderFactory.createCompoundBorder(compressLevel.getBorder(),BorderFactory.createEmptyBorder(0,1,0,0)));
  }
 else   if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    ComboBoxEditor sfe=scalingFactor.getEditor();
    JTextField sfeTextField=(JTextField)sfe.getEditorComponent();
    sfeTextField.setBorder(new CompoundBorder(sfeTextField.getBorder(),new EmptyBorder(0,2,0,0)));
  }
  scalingFactor.setEditable(true);
  scalingFactor.addItemListener(this);
  addGBComponent(fullScreen,MiscPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(shared,MiscPanel,0,1,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(useLocalCursor,MiscPanel,0,2,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(acceptBell,MiscPanel,0,3,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  addGBComponent(scalingFactorLabel,MiscPanel,0,4,1,GridBagConstraints.REMAINDER,2,2,1,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(8,8,0,5));
  addGBComponent(scalingFactor,MiscPanel,1,4,1,GridBagConstraints.REMAINDER,2,2,25,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  DefaultsPanel=new JPanel(new GridBagLayout());
  JPanel configPanel=new JPanel(new GridBagLayout());
  configPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  JButton cfReloadButton=new JButton("String_Node_Str");
  cfReloadButton.addActionListener(this);
  addGBComponent(cfReloadButton,configPanel,0,0,1,1,0,0,0,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  JButton cfSaveButton=new JButton("String_Node_Str");
  cfSaveButton.addActionListener(this);
  addGBComponent(cfSaveButton,configPanel,0,1,1,1,0,0,0,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  JButton cfSaveAsButton=new JButton("String_Node_Str");
  cfSaveAsButton.addActionListener(this);
  addGBComponent(cfSaveAsButton,configPanel,0,2,1,1,0,0,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  cfReloadButton.setEnabled(false);
  cfSaveButton.setEnabled(false);
  JPanel defaultsPanel=new JPanel(new GridBagLayout());
  defaultsPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  JButton defReloadButton=new JButton("String_Node_Str");
  defReloadButton.addActionListener(this);
  addGBComponent(defReloadButton,defaultsPanel,0,0,1,1,0,0,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  defSaveButton=new JButton("String_Node_Str");
  defSaveButton.addActionListener(this);
  addGBComponent(defSaveButton,defaultsPanel,0,1,1,1,0,0,0,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  addGBComponent(configPanel,DefaultsPanel,0,0,1,GridBagConstraints.REMAINDER,0,0,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.PAGE_START,new Insets(4,5,4,5));
  addGBComponent(defaultsPanel,DefaultsPanel,1,0,1,GridBagConstraints.REMAINDER,0,0,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.PAGE_START,new Insets(4,0,4,5));
  SecPanel=new JPanel(new GridBagLayout());
  JPanel encryptionPanel=new JPanel(new GridBagLayout());
  encryptionPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  encNone=addCheckbox("String_Node_Str",null,encryptionPanel);
  encTLS=addCheckbox("String_Node_Str",null,encryptionPanel);
  encX509=addJCheckBox("String_Node_Str",null,encryptionPanel,new GridBagConstraints(0,2,1,1,1,1,GridBagConstraints.LINE_START,GridBagConstraints.REMAINDER,new Insets(0,0,0,60),0,0));
  JPanel x509Panel=new JPanel(new GridBagLayout());
  x509Panel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  ca=new JButton("String_Node_Str");
  ca.addActionListener(this);
  crl=new JButton("String_Node_Str");
  crl.addActionListener(this);
  addGBComponent(ca,x509Panel,0,0,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(2,2,2,2));
  addGBComponent(crl,x509Panel,1,0,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(2,2,2,2));
  JPanel authPanel=new JPanel(new GridBagLayout());
  authPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  secNone=addCheckbox("String_Node_Str",null,authPanel);
  secVnc=addCheckbox("String_Node_Str",null,authPanel);
  secPlain=addJCheckBox("String_Node_Str",null,authPanel,new GridBagConstraints(0,2,1,1,1,1,GridBagConstraints.LINE_START,GridBagConstraints.NONE,new Insets(0,0,0,5),0,0));
  secIdent=addJCheckBox("String_Node_Str",null,authPanel,new GridBagConstraints(0,3,1,1,1,1,GridBagConstraints.LINE_START,GridBagConstraints.NONE,new Insets(0,0,0,5),0,0));
  sendLocalUsername=new JCheckBox("String_Node_Str");
  sendLocalUsername.addItemListener(this);
  addGBComponent(sendLocalUsername,authPanel,1,2,1,2,0,0,2,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,20,0,0));
  secVeNCrypt=new JCheckBox("String_Node_Str");
  secVeNCrypt.addItemListener(this);
  addGBComponent(secVeNCrypt,SecPanel,0,0,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,30));
  addGBComponent(encryptionPanel,SecPanel,0,1,1,1,2,2,1,0,GridBagConstraints.NONE,GridBagConstraints.LINE_START,new Insets(0,10,2,5));
  addGBComponent(x509Panel,SecPanel,0,2,1,1,2,2,1,0,GridBagConstraints.NONE,GridBagConstraints.LINE_START,new Insets(2,10,2,5));
  addGBComponent(authPanel,SecPanel,0,3,1,1,2,2,1,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(2,10,2,5));
  tabPane.add(FormatPanel);
  tabPane.add(InputsPanel);
  tabPane.add(MiscPanel);
  tabPane.add(DefaultsPanel);
  tabPane.add(SecPanel);
  tabPane.addTab("String_Node_Str",FormatPanel);
  tabPane.addTab("String_Node_Str",InputsPanel);
  tabPane.addTab("String_Node_Str",MiscPanel);
  tabPane.addTab("String_Node_Str",DefaultsPanel);
  tabPane.addTab("String_Node_Str",SecPanel);
  tabPane.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
  okButton=new JButton("String_Node_Str");
  okButton.setPreferredSize(new Dimension(90,30));
  okButton.addActionListener(this);
  cancelButton=new JButton("String_Node_Str");
  cancelButton.setPreferredSize(new Dimension(90,30));
  cancelButton.addActionListener(this);
  JPanel buttonPane=new JPanel();
  buttonPane.setLayout(new BoxLayout(buttonPane,BoxLayout.LINE_AXIS));
  buttonPane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
  buttonPane.add(Box.createHorizontalGlue());
  buttonPane.add(okButton);
  buttonPane.add(Box.createRigidArea(new Dimension(5,0)));
  buttonPane.add(cancelButton);
  buttonPane.add(Box.createRigidArea(new Dimension(5,0)));
  this.getContentPane().add(tabPane);
  this.getContentPane().add(buttonPane);
  pack();
}

Fixed version (ground truth):
public OptionsDialog(OptionsDialogCallback cb_){
  super(false);
  cb=cb_;
  setResizable(false);
  setTitle("String_Node_Str");
  defaults=new UserPrefs("String_Node_Str");
  getContentPane().setLayout(new BoxLayout(getContentPane(),BoxLayout.PAGE_AXIS));
  JTabbedPane tabPane=new JTabbedPane();
  ButtonGroup encodingGroup=new ButtonGroup();
  ButtonGroup colourGroup=new ButtonGroup();
  FormatPanel=new JPanel(new GridBagLayout());
  autoSelect=new JCheckBox("String_Node_Str");
  autoSelect.addItemListener(this);
  JPanel encodingPanel=new JPanel(new GridBagLayout());
  encodingPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  zrle=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  hextile=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  tight=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  raw=addRadioCheckbox("String_Node_Str",encodingGroup,encodingPanel);
  JPanel tightPanel=new JPanel(new GridBagLayout());
  customCompressLevel=new JCheckBox("String_Node_Str");
  customCompressLevel.addItemListener(this);
  Object[] compressionLevels={1,2,3,4,5,6};
  compressLevel=new JComboBox(compressionLevels);
  JLabel compressionLabel=new JLabel("String_Node_Str");
  noJpeg=new JCheckBox("String_Node_Str");
  noJpeg.addItemListener(this);
  Object[] qualityLevels={0,1,2,3,4,5,6,7,8,9};
  qualityLevel=new JComboBox(qualityLevels);
  JLabel qualityLabel=new JLabel("String_Node_Str");
  if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    compressLevel.setBorder(BorderFactory.createCompoundBorder(compressLevel.getBorder(),BorderFactory.createEmptyBorder(0,1,0,0)));
  }
 else   if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    ComboBoxEditor editor=compressLevel.getEditor();
    JTextField jtf=(JTextField)editor.getEditorComponent();
    jtf.setBorder(new CompoundBorder(jtf.getBorder(),new EmptyBorder(0,2,0,0)));
  }
  Dimension size=compressLevel.getPreferredSize();
  compressLevel.setEditable(true);
  compressLevel.setPreferredSize(size);
  addGBComponent(customCompressLevel,tightPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(0,0,0,0));
  addGBComponent(compressLevel,tightPanel,0,1,1,1,2,2,0,0,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(0,20,0,0));
  addGBComponent(compressionLabel,tightPanel,1,1,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,5,0,0));
  addGBComponent(noJpeg,tightPanel,0,2,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,0,0,0));
  addGBComponent(qualityLevel,tightPanel,0,3,1,1,2,2,0,0,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(0,20,0,0));
  addGBComponent(qualityLabel,tightPanel,1,3,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,5,0,0));
  JPanel colourPanel=new JPanel(new GridBagLayout());
  colourPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  fullColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  mediumColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  lowColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  veryLowColour=addRadioCheckbox("String_Node_Str",colourGroup,colourPanel);
  addGBComponent(autoSelect,FormatPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  addGBComponent(encodingPanel,FormatPanel,0,1,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,10,0,5));
  addGBComponent(colourPanel,FormatPanel,1,1,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_END,new Insets(0,0,0,5));
  addGBComponent(tightPanel,FormatPanel,0,2,2,GridBagConstraints.REMAINDER,2,2,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(0,5,0,5));
  InputsPanel=new JPanel(new GridBagLayout());
  viewOnly=new JCheckBox("String_Node_Str");
  viewOnly.addItemListener(this);
  acceptClipboard=new JCheckBox("String_Node_Str");
  acceptClipboard.addItemListener(this);
  sendClipboard=new JCheckBox("String_Node_Str");
  sendClipboard.addItemListener(this);
  JLabel menuKeyLabel=new JLabel("String_Node_Str");
  String[] menuKeys={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  menuKey=new JComboBox(menuKeys);
  menuKey.addItemListener(this);
  addGBComponent(viewOnly,InputsPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(acceptClipboard,InputsPanel,0,1,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(sendClipboard,InputsPanel,0,2,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(menuKeyLabel,InputsPanel,0,3,1,GridBagConstraints.REMAINDER,2,2,1,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(8,8,0,5));
  addGBComponent(menuKey,InputsPanel,1,3,1,GridBagConstraints.REMAINDER,2,2,25,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  MiscPanel=new JPanel(new GridBagLayout());
  fullScreen=new JCheckBox("String_Node_Str");
  fullScreen.addItemListener(this);
  shared=new JCheckBox("String_Node_Str");
  shared.addItemListener(this);
  useLocalCursor=new JCheckBox("String_Node_Str");
  useLocalCursor.addItemListener(this);
  acceptBell=new JCheckBox("String_Node_Str");
  acceptBell.addItemListener(this);
  JLabel scalingFactorLabel=new JLabel("String_Node_Str");
  Object[] scalingFactors={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  scalingFactor=new JComboBox(scalingFactors);
  if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    scalingFactor.setBorder(BorderFactory.createCompoundBorder(scalingFactor.getBorder(),BorderFactory.createEmptyBorder(0,1,0,0)));
  }
 else   if (UIManager.getLookAndFeel().getID() == "String_Node_Str") {
    ComboBoxEditor sfe=scalingFactor.getEditor();
    JTextField sfeTextField=(JTextField)sfe.getEditorComponent();
    sfeTextField.setBorder(new CompoundBorder(sfeTextField.getBorder(),new EmptyBorder(0,2,0,0)));
  }
  scalingFactor.setEditable(true);
  scalingFactor.addItemListener(this);
  addGBComponent(fullScreen,MiscPanel,0,0,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(shared,MiscPanel,0,1,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(useLocalCursor,MiscPanel,0,2,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(4,5,0,5));
  addGBComponent(acceptBell,MiscPanel,0,3,2,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  addGBComponent(scalingFactorLabel,MiscPanel,0,4,1,GridBagConstraints.REMAINDER,2,2,1,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(8,8,0,5));
  addGBComponent(scalingFactor,MiscPanel,1,4,1,GridBagConstraints.REMAINDER,2,2,25,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,5));
  DefaultsPanel=new JPanel(new GridBagLayout());
  JPanel configPanel=new JPanel(new GridBagLayout());
  configPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  JButton cfReloadButton=new JButton("String_Node_Str");
  cfReloadButton.addActionListener(this);
  addGBComponent(cfReloadButton,configPanel,0,0,1,1,0,0,0,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  JButton cfSaveButton=new JButton("String_Node_Str");
  cfSaveButton.addActionListener(this);
  addGBComponent(cfSaveButton,configPanel,0,1,1,1,0,0,0,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  JButton cfSaveAsButton=new JButton("String_Node_Str");
  cfSaveAsButton.addActionListener(this);
  addGBComponent(cfSaveAsButton,configPanel,0,2,1,1,0,0,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  cfReloadButton.setEnabled(false);
  cfSaveButton.setEnabled(false);
  JPanel defaultsPanel=new JPanel(new GridBagLayout());
  defaultsPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  JButton defReloadButton=new JButton("String_Node_Str");
  defReloadButton.addActionListener(this);
  addGBComponent(defReloadButton,defaultsPanel,0,0,1,1,0,0,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  defSaveButton=new JButton("String_Node_Str");
  defSaveButton.addActionListener(this);
  addGBComponent(defSaveButton,defaultsPanel,0,1,1,1,0,0,0,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.CENTER,new Insets(4,8,4,8));
  addGBComponent(configPanel,DefaultsPanel,0,0,1,GridBagConstraints.REMAINDER,0,0,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.PAGE_START,new Insets(4,5,4,5));
  addGBComponent(defaultsPanel,DefaultsPanel,1,0,1,GridBagConstraints.REMAINDER,0,0,1,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.PAGE_START,new Insets(4,0,4,5));
  SecPanel=new JPanel(new GridBagLayout());
  JPanel encryptionPanel=new JPanel(new GridBagLayout());
  encryptionPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  encNone=addCheckbox("String_Node_Str",null,encryptionPanel);
  encTLS=addCheckbox("String_Node_Str",null,encryptionPanel);
  encX509=addJCheckBox("String_Node_Str",null,encryptionPanel,new GridBagConstraints(0,2,1,1,1,1,GridBagConstraints.LINE_START,GridBagConstraints.REMAINDER,new Insets(0,0,0,60),0,0));
  JPanel x509Panel=new JPanel(new GridBagLayout());
  x509Panel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  ca=new JButton("String_Node_Str");
  ca.addActionListener(this);
  crl=new JButton("String_Node_Str");
  crl.addActionListener(this);
  addGBComponent(ca,x509Panel,0,0,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(2,2,2,2));
  addGBComponent(crl,x509Panel,1,0,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(2,2,2,2));
  JPanel authPanel=new JPanel(new GridBagLayout());
  authPanel.setBorder(BorderFactory.createTitledBorder("String_Node_Str"));
  secNone=addCheckbox("String_Node_Str",null,authPanel);
  secVnc=addCheckbox("String_Node_Str",null,authPanel);
  secPlain=addJCheckBox("String_Node_Str",null,authPanel,new GridBagConstraints(0,2,1,1,1,1,GridBagConstraints.LINE_START,GridBagConstraints.NONE,new Insets(0,0,0,5),0,0));
  secIdent=addJCheckBox("String_Node_Str",null,authPanel,new GridBagConstraints(0,3,1,1,1,1,GridBagConstraints.LINE_START,GridBagConstraints.NONE,new Insets(0,0,0,5),0,0));
  sendLocalUsername=new JCheckBox("String_Node_Str");
  sendLocalUsername.addItemListener(this);
  addGBComponent(sendLocalUsername,authPanel,1,2,1,2,0,0,2,1,GridBagConstraints.HORIZONTAL,GridBagConstraints.LINE_START,new Insets(0,20,0,0));
  secVeNCrypt=new JCheckBox("String_Node_Str");
  secVeNCrypt.addItemListener(this);
  addGBComponent(secVeNCrypt,SecPanel,0,0,1,1,2,2,1,0,GridBagConstraints.HORIZONTAL,GridBagConstraints.FIRST_LINE_START,new Insets(4,5,0,30));
  addGBComponent(encryptionPanel,SecPanel,0,1,1,1,2,2,1,0,GridBagConstraints.NONE,GridBagConstraints.LINE_START,new Insets(0,10,2,5));
  addGBComponent(x509Panel,SecPanel,0,2,1,1,2,2,1,0,GridBagConstraints.NONE,GridBagConstraints.LINE_START,new Insets(2,10,2,5));
  addGBComponent(authPanel,SecPanel,0,3,1,1,2,2,1,1,GridBagConstraints.NONE,GridBagConstraints.FIRST_LINE_START,new Insets(2,10,2,5));
  tabPane.add(FormatPanel);
  tabPane.add(InputsPanel);
  tabPane.add(MiscPanel);
  tabPane.add(DefaultsPanel);
  tabPane.add(SecPanel);
  tabPane.addTab("String_Node_Str",FormatPanel);
  tabPane.addTab("String_Node_Str",InputsPanel);
  tabPane.addTab("String_Node_Str",MiscPanel);
  tabPane.addTab("String_Node_Str",DefaultsPanel);
  tabPane.addTab("String_Node_Str",SecPanel);
  tabPane.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
  okButton=new JButton("String_Node_Str");
  okButton.setPreferredSize(new Dimension(90,30));
  okButton.addActionListener(this);
  cancelButton=new JButton("String_Node_Str");
  cancelButton.setPreferredSize(new Dimension(90,30));
  cancelButton.addActionListener(this);
  JPanel buttonPane=new JPanel();
  buttonPane.setLayout(new BoxLayout(buttonPane,BoxLayout.LINE_AXIS));
  buttonPane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
  buttonPane.add(Box.createHorizontalGlue());
  buttonPane.add(okButton);
  buttonPane.add(Box.createRigidArea(new Dimension(5,0)));
  buttonPane.add(cancelButton);
  buttonPane.add(Box.createRigidArea(new Dimension(5,0)));
  this.getContentPane().add(tabPane);
  this.getContentPane().add(buttonPane);
  pack();
}