Program: 90959
Project: 90959
Buggy source:
public RenderSettingsPanel(final RenderSettings renderSettings){
  super(new GridBagLayout());
  this.renderSettings=renderSettings;
  final GridBagConstraints c=new GridBagConstraints();
  c.insets=new Insets(0,5,0,5);
  c.gridwidth=1;
  c.gridy=0;
  antialiasingBox=new JCheckBox();
  antialiasingBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setUseAntialiasing(antialiasingBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(antialiasingBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  linksBox=new JCheckBox();
  linksBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawLinks(linksBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(linksBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  timeLimit=new BoundedValue(0,100,10){
    @Override public void setCurrentValue(    final int value){
      super.setCurrentValue(value);
      renderSettings.setTimeLimit(getCurrentValue());
    }
  }
;
  timeLimitSlider=new SliderPanel(null,timeLimit,1);
  timeLimitSlider.setNumColummns(tfCols);
  timeLimitSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(timeLimitSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  gradientBox=new JCheckBox();
  gradientBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setUseGradient(gradientBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(gradientBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  spotsBox=new JCheckBox();
  spotsBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawSpots(spotsBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(spotsBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  intersectionBox=new JCheckBox();
  intersectionBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawEllipsoidSliceIntersection(intersectionBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(intersectionBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  projectionBox=new JCheckBox();
  projectionBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawEllipsoidSliceProjection(projectionBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(projectionBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  centersBox=new JCheckBox();
  centersBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawSpotCenters(centersBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(centersBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  centersForEllipsesBox=new JCheckBox();
  centersForEllipsesBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawEllipsoidSliceProjection(centersForEllipsesBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(centersForEllipsesBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  focusLimit=new BoundedValueDouble(0,2000,100){
    @Override public void setCurrentValue(    final double value){
      super.setCurrentValue(value);
      renderSettings.setFocusLimit(getCurrentValue());
    }
  }
;
  focusLimitSlider=new SliderPanelDouble(null,focusLimit,1);
  focusLimitSlider.setDecimalFormat("String_Node_Str");
  focusLimitSlider.setNumColummns(tfCols);
  focusLimitSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(focusLimitSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  focusLimitRelativeBox=new JCheckBox();
  focusLimitRelativeBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setFocusLimitViewRelative(focusLimitRelativeBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(focusLimitRelativeBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  ellipsoidFadeDepth=new BoundedValueDouble(0,1,0.2){
    @Override public void setCurrentValue(    final double value){
      super.setCurrentValue(value);
      renderSettings.setEllipsoidFadeDepth(getCurrentValue());
    }
  }
;
  ellipsoidFadeDepthSlider=new SliderPanelDouble(null,ellipsoidFadeDepth,0.05);
  ellipsoidFadeDepthSlider.setDecimalFormat("String_Node_Str");
  ellipsoidFadeDepthSlider.setNumColummns(tfCols);
  ellipsoidFadeDepthSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(ellipsoidFadeDepthSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  pointFadeDepth=new BoundedValueDouble(0,1,0.2){
    @Override public void setCurrentValue(    final double value){
      super.setCurrentValue(value);
      renderSettings.setPointFadeDepth(getCurrentValue());
    }
  }
;
  pointFadeDepthSlider=new SliderPanelDouble(null,pointFadeDepth,0.05);
  pointFadeDepthSlider.setDecimalFormat("String_Node_Str");
  pointFadeDepthSlider.setNumColummns(tfCols);
  pointFadeDepthSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(pointFadeDepthSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  update();
}

Fixed version (ground truth):
public RenderSettingsPanel(final RenderSettings renderSettings){
  super(new GridBagLayout());
  this.renderSettings=renderSettings;
  final GridBagConstraints c=new GridBagConstraints();
  c.insets=new Insets(0,5,0,5);
  c.gridwidth=1;
  c.gridy=0;
  antialiasingBox=new JCheckBox();
  antialiasingBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setUseAntialiasing(antialiasingBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(antialiasingBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  linksBox=new JCheckBox();
  linksBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawLinks(linksBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(linksBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  timeLimit=new BoundedValue(0,100,10){
    @Override public void setCurrentValue(    final int value){
      super.setCurrentValue(value);
      renderSettings.setTimeLimit(getCurrentValue());
    }
  }
;
  timeLimitSlider=new SliderPanel(null,timeLimit,1);
  timeLimitSlider.setNumColummns(tfCols);
  timeLimitSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(timeLimitSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  gradientBox=new JCheckBox();
  gradientBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setUseGradient(gradientBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(gradientBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  spotsBox=new JCheckBox();
  spotsBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawSpots(spotsBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(spotsBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  intersectionBox=new JCheckBox();
  intersectionBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawEllipsoidSliceIntersection(intersectionBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(intersectionBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  projectionBox=new JCheckBox();
  projectionBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawEllipsoidSliceProjection(projectionBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(projectionBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  centersBox=new JCheckBox();
  centersBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawSpotCenters(centersBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(centersBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  centersForEllipsesBox=new JCheckBox();
  centersForEllipsesBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setDrawSpotCentersForEllipses(centersForEllipsesBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(centersForEllipsesBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  focusLimit=new BoundedValueDouble(0,2000,100){
    @Override public void setCurrentValue(    final double value){
      super.setCurrentValue(value);
      renderSettings.setFocusLimit(getCurrentValue());
    }
  }
;
  focusLimitSlider=new SliderPanelDouble(null,focusLimit,1);
  focusLimitSlider.setDecimalFormat("String_Node_Str");
  focusLimitSlider.setNumColummns(tfCols);
  focusLimitSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(focusLimitSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  focusLimitRelativeBox=new JCheckBox();
  focusLimitRelativeBox.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    final ActionEvent e){
      renderSettings.setFocusLimitViewRelative(focusLimitRelativeBox.isSelected());
    }
  }
);
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(focusLimitRelativeBox,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  add(Box.createVerticalStrut(15),c);
  c.gridy++;
  ellipsoidFadeDepth=new BoundedValueDouble(0,1,0.2){
    @Override public void setCurrentValue(    final double value){
      super.setCurrentValue(value);
      renderSettings.setEllipsoidFadeDepth(getCurrentValue());
    }
  }
;
  ellipsoidFadeDepthSlider=new SliderPanelDouble(null,ellipsoidFadeDepth,0.05);
  ellipsoidFadeDepthSlider.setDecimalFormat("String_Node_Str");
  ellipsoidFadeDepthSlider.setNumColummns(tfCols);
  ellipsoidFadeDepthSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(ellipsoidFadeDepthSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  c.gridy++;
  pointFadeDepth=new BoundedValueDouble(0,1,0.2){
    @Override public void setCurrentValue(    final double value){
      super.setCurrentValue(value);
      renderSettings.setPointFadeDepth(getCurrentValue());
    }
  }
;
  pointFadeDepthSlider=new SliderPanelDouble(null,pointFadeDepth,0.05);
  pointFadeDepthSlider.setDecimalFormat("String_Node_Str");
  pointFadeDepthSlider.setNumColummns(tfCols);
  pointFadeDepthSlider.setBorder(new EmptyBorder(0,0,0,6));
  c.anchor=GridBagConstraints.LINE_END;
  c.gridx=0;
  add(pointFadeDepthSlider,c);
  c.anchor=GridBagConstraints.LINE_START;
  c.gridx=1;
  add(new JLabel("String_Node_Str"),c);
  update();
}