Program: 88918
Project: 88918
Buggy source:
public AsieLauncherOptionsGUI(AsieLauncherGUI parent,Map<String,JSONObject> optionMap,String fn){
  lgui=parent;
  filename=fn;
  setTitle(Strings.OPTIONS);
  setResizable(false);
  setLocationRelativeTo(null);
  setDefaultCloseOperation(HIDE_ON_CLOSE);
  panel=new JPanel();
  getContentPane().add(panel);
  GridBagLayout gbl=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  panel.setLayout(gbl);
  panel.setBorder(BorderFactory.createEmptyBorder(8,8,8,8));
  optionBoxes=new HashMap<String,JCheckBox>(optionMap.size());
  optionBoxIDs=new HashMap<JCheckBox,String>(optionMap.size());
  c.fill=GridBagConstraints.HORIZONTAL;
  c.anchor=GridBagConstraints.PAGE_START;
  c.gridx=0;
  c.gridy=0;
  for (  String optionID : optionMap.keySet()) {
    JSONObject option=optionMap.get(optionID);
    JCheckBox box=new JCheckBox((String)option.get("String_Node_Str"),(Boolean)option.get("String_Node_Str"));
    box.setToolTipText((String)option.get("String_Node_Str"));
    panel.add(box,c);
    optionBoxes.put(optionID,box);
    optionBoxIDs.put(box,optionID);
    c.gridy++;
  }
  ramAmount=new JTextField("String_Node_Str",5);
  otherArgs=new JTextField(20);
  logButton=new JButton(Strings.SHOW_INSTALL_LOG);
  logButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent event){
      setOptions();
      AsieLauncherLogGUI logGUI=new AsieLauncherLogGUI();
      logGUI.showLog(lgui.generateLogs());
    }
  }
);
  quitButton=new JButton(Strings.OK);
  quitButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent event){
      setOptions();
      setVisible(false);
    }
  }
);
  c.fill=GridBagConstraints.HORIZONTAL;
  c.anchor=GridBagConstraints.LINE_START;
  c.gridy++;
  panel.add(new JLabel(Strings.RAM_AMOUNT_MB),c);
  c.gridy++;
  panel.add(new JLabel(Strings.OTHER_JVM_ARGS),c);
  c.gridy++;
  panel.add(logButton,c);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx++;
  c.gridy-=2;
  panel.add(ramAmount,c);
  c.gridy++;
  panel.add(otherArgs,c);
  c.gridy++;
  panel.add(quitButton,c);
  loadSelectedOptions(filename);
  oldOptions=getOptions();
  options=getOptions();
  pack();
  validate();
}

Fixed version (ground truth):
public AsieLauncherOptionsGUI(AsieLauncherGUI parent,Map<String,JSONObject> optionMap,String fn){
  lgui=parent;
  filename=fn;
  setTitle(Strings.OPTIONS);
  setResizable(false);
  setLocationRelativeTo(null);
  setDefaultCloseOperation(HIDE_ON_CLOSE);
  panel=new JPanel();
  getContentPane().add(panel);
  GridBagLayout gbl=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  panel.setLayout(gbl);
  panel.setBorder(BorderFactory.createEmptyBorder(8,8,8,8));
  optionBoxes=new HashMap<String,JCheckBox>(optionMap.size());
  optionBoxIDs=new HashMap<JCheckBox,String>(optionMap.size());
  c.fill=GridBagConstraints.HORIZONTAL;
  c.anchor=GridBagConstraints.PAGE_START;
  c.gridx=0;
  c.gridy=0;
  for (  String optionID : optionMap.keySet()) {
    JSONObject option=optionMap.get(optionID);
    JCheckBox box=new JCheckBox((String)option.get("String_Node_Str"),(Boolean)option.get("String_Node_Str"));
    box.setToolTipText((String)option.get("String_Node_Str"));
    panel.add(box,c);
    optionBoxes.put(optionID,box);
    optionBoxIDs.put(box,optionID);
    c.gridy++;
  }
  ramAmount=new JTextField("String_Node_Str",5);
  otherArgs=new JTextField(20);
  logButton=new JButton(Strings.SHOW_INSTALL_LOG);
  logButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent event){
      setOptions();
      AsieLauncherLogGUI logGUI=new AsieLauncherLogGUI();
      logGUI.showLog(lgui.generateLogs());
    }
  }
);
  quitButton=new JButton(Strings.OK);
  quitButton.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent event){
      setOptions();
      setVisible(false);
    }
  }
);
  loginCheckbox=new JCheckBox("String_Node_Str");
  c.fill=GridBagConstraints.HORIZONTAL;
  c.anchor=GridBagConstraints.LINE_START;
  c.gridy++;
  panel.add(new JLabel(Strings.RAM_AMOUNT_MB),c);
  c.gridy++;
  panel.add(new JLabel(Strings.OTHER_JVM_ARGS),c);
  c.gridy++;
  if (lgui.canKeepPassword()) {
    c.gridy++;
  }
  panel.add(logButton,c);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx++;
  c.gridy-=2;
  if (lgui.canKeepPassword()) {
    c.gridy--;
  }
  panel.add(ramAmount,c);
  c.gridy++;
  panel.add(otherArgs,c);
  c.gridy++;
  if (lgui.canKeepPassword()) {
    panel.add(loginCheckbox,c);
    c.gridy++;
  }
  panel.add(quitButton,c);
  loadSelectedOptions(filename);
  oldOptions=getOptions();
  options=getOptions();
  pack();
  validate();
}