Program: 94603
Project: 94603
Buggy source:
@Override public void show(){
  Configuration config=parent.getConfiguration();
  int size_height_label=24;
  int start_label_left=109;
  int start_label_right=265;
  int end_label_right=490;
  int n=10;
  int sep=45;
  ImageIcon image=new ImageIcon(getClass().getResource("String_Node_Str"));
  JLabel labelImage=new JLabel(image);
  labelImage.setBounds(600 / 2 - 265 / 2,n,265,130 + n);
  n=labelImage.getHeight();
  parent.getContentPane().add(labelImage);
  n+=40;
  JLabel loginLabel=new JLabel("String_Node_Str");
  loginLabel.setBounds(start_label_left,n,170,size_height_label);
  parent.getContentPane().add(loginLabel);
  login=new JTextField();
  login.setBounds(start_label_right,n,end_label_right - start_label_right,size_height_label);
  login.setText(parent.getConfiguration().login());
  login.setColumns(20);
  parent.getContentPane().add(login);
  n+=sep;
  JLabel passwordLabel=new JLabel("String_Node_Str");
  passwordLabel.setBounds(start_label_left,n,170,size_height_label);
  parent.getContentPane().add(passwordLabel);
  password=new JPasswordField();
  password.setBounds(start_label_right,n,end_label_right - start_label_right,size_height_label);
  password.setText(parent.getConfiguration().password());
  password.setColumns(10);
  parent.getContentPane().add(password);
  n+=sep;
  JLabel cacheLabel=new JLabel("String_Node_Str");
  cacheLabel.setBounds(start_label_left,n,240,size_height_label);
  parent.getContentPane().add(cacheLabel);
  String destination=DUMMY_CACHE_DIR;
  if (config.getUserSpecifiedACacheDir()) {
    destination=config.getStorageDir().getName();
  }
  cacheDirText=new JLabel(destination);
  cacheDirText.setBounds(start_label_right,n,240,size_height_label);
  parent.getContentPane().add(cacheDirText);
  cacheDirChooser=new JFileChooser();
  cacheDirChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
  JButton openButton=new JButton("String_Node_Str");
  openButton.addActionListener(new ChooseFileAction());
  openButton.setBounds(end_label_right - 50,n,50,size_height_label);
  parent.getContentPane().add(openButton);
  n+=sep;
  JLabel computeMethodLabel=new JLabel("String_Node_Str");
  computeMethodLabel.setBounds(start_label_left,n,240,size_height_label);
  parent.getContentPane().add(computeMethodLabel);
  ComputeType method=config.getComputeMethod();
  useCPU=new JCheckBox("String_Node_Str");
  boolean gpuChecked=false;
  if (method == ComputeType.CPU_GPU) {
    useCPU.setSelected(true);
    gpuChecked=true;
  }
 else   if (method == ComputeType.CPU_ONLY) {
    useCPU.setSelected(true);
    gpuChecked=false;
  }
 else   if (method == ComputeType.GPU_ONLY) {
    useCPU.setSelected(false);
    gpuChecked=true;
  }
  int size=60;
  useCPU.addActionListener(new CpuChangeAction());
  useCPU.setBounds(start_label_right,n,size,size_height_label);
  parent.getContentPane().add(useCPU);
  List<GPUDevice> gpus=GPU.listDevices();
  if (gpus != null) {
    for (    GPUDevice gpu : gpus) {
      n+=20;
      JCheckBoxGPU gpuCheckBox=new JCheckBoxGPU(gpu);
      gpuCheckBox.setToolTipText(gpu.getCudaName());
      gpuCheckBox.setSelected(gpuChecked);
      gpuCheckBox.setBounds(start_label_right,n,200,size_height_label);
      gpuCheckBox.addActionListener(new GpuChangeAction());
      parent.getContentPane().add(gpuCheckBox);
      useGPUs.add(gpuCheckBox);
    }
  }
  n+=sep;
  saveButton=new JButton("String_Node_Str");
  saveButton.setBounds(start_label_right,n,80,size_height_label);
  saveButton.addActionListener(new SaveAction());
  parent.getContentPane().add(saveButton);
}

Fixed version (ground truth):
@Override public void show(){
  Configuration config=parent.getConfiguration();
  int size_height_label=24;
  int start_label_left=109;
  int start_label_right=265;
  int end_label_right=490;
  int n=10;
  int sep=45;
  ImageIcon image=new ImageIcon(getClass().getResource("String_Node_Str"));
  JLabel labelImage=new JLabel(image);
  labelImage.setBounds(600 / 2 - 265 / 2,n,265,130 + n);
  n=labelImage.getHeight();
  parent.getContentPane().add(labelImage);
  n+=40;
  JLabel loginLabel=new JLabel("String_Node_Str");
  loginLabel.setBounds(start_label_left,n,170,size_height_label);
  parent.getContentPane().add(loginLabel);
  login=new JTextField();
  login.setBounds(start_label_right,n,end_label_right - start_label_right,size_height_label);
  login.setText(parent.getConfiguration().login());
  login.setColumns(20);
  parent.getContentPane().add(login);
  n+=sep;
  JLabel passwordLabel=new JLabel("String_Node_Str");
  passwordLabel.setBounds(start_label_left,n,170,size_height_label);
  parent.getContentPane().add(passwordLabel);
  password=new JPasswordField();
  password.setBounds(start_label_right,n,end_label_right - start_label_right,size_height_label);
  password.setText(parent.getConfiguration().password());
  password.setColumns(10);
  parent.getContentPane().add(password);
  n+=sep;
  JLabel cacheLabel=new JLabel("String_Node_Str");
  cacheLabel.setBounds(start_label_left,n,240,size_height_label);
  parent.getContentPane().add(cacheLabel);
  String destination=DUMMY_CACHE_DIR;
  if (config.getUserSpecifiedACacheDir()) {
    destination=config.getStorageDir().getName();
  }
  cacheDirText=new JLabel(destination);
  cacheDirText.setBounds(start_label_right,n,240,size_height_label);
  parent.getContentPane().add(cacheDirText);
  cacheDirChooser=new JFileChooser();
  cacheDirChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
  JButton openButton=new JButton("String_Node_Str");
  openButton.addActionListener(new ChooseFileAction());
  openButton.setBounds(end_label_right - 50,n,50,size_height_label);
  parent.getContentPane().add(openButton);
  n+=sep;
  JLabel computeMethodLabel=new JLabel("String_Node_Str");
  computeMethodLabel.setBounds(start_label_left,n,240,size_height_label);
  parent.getContentPane().add(computeMethodLabel);
  ComputeType method=config.getComputeMethod();
  useCPU=new JCheckBox("String_Node_Str");
  boolean gpuChecked=false;
  if (method == ComputeType.CPU_GPU) {
    useCPU.setSelected(true);
    gpuChecked=true;
  }
 else   if (method == ComputeType.CPU_ONLY) {
    useCPU.setSelected(true);
    gpuChecked=false;
  }
 else   if (method == ComputeType.GPU_ONLY) {
    useCPU.setSelected(false);
    gpuChecked=true;
  }
  int size=60;
  useCPU.addActionListener(new CpuChangeAction());
  useCPU.setBounds(start_label_right,n,size,size_height_label);
  parent.getContentPane().add(useCPU);
  List<GPUDevice> gpus=GPU.listDevices();
  if (gpus != null) {
    for (    GPUDevice gpu : gpus) {
      n+=20;
      JCheckBoxGPU gpuCheckBox=new JCheckBoxGPU(gpu);
      gpuCheckBox.setToolTipText(gpu.getCudaName());
      if (gpuChecked) {
        GPUDevice config_gpu=config.getGPUDevice();
        if (config_gpu != null && config_gpu.getCudaName().equals(gpu.getCudaName())) {
          gpuCheckBox.setSelected(gpuChecked);
        }
      }
      gpuCheckBox.setBounds(start_label_right,n,200,size_height_label);
      gpuCheckBox.addActionListener(new GpuChangeAction());
      parent.getContentPane().add(gpuCheckBox);
      useGPUs.add(gpuCheckBox);
    }
  }
  n+=sep;
  saveButton=new JButton("String_Node_Str");
  saveButton.setBounds(start_label_right,n,80,size_height_label);
  saveButton.addActionListener(new SaveAction());
  parent.getContentPane().add(saveButton);
}