Program: 185174
Project: 185174
Buggy source:
public TimeSetupPanel(){
  JPanel timePanel=new PlotSettingsPanel();
  timePanel.setLayout(new BoxLayout(timePanel,BoxLayout.Y_AXIS));
  timePanel.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
  JPanel timeSystemPanel=new PlotSettingsPanel();
  timeSystemPanel.setLayout(new BoxLayout(timeSystemPanel,BoxLayout.X_AXIS));
  timeSystemPanel.setBorder(BorderFactory.createEmptyBorder(0,5,2,0));
  JPanel timeFormatsPanel=new PlotSettingsPanel();
  timeFormatsPanel.setLayout(new BoxLayout(timeFormatsPanel,BoxLayout.X_AXIS));
  timeFormatsPanel.setBorder(BorderFactory.createEmptyBorder(0,5,2,0));
  timePanel.add(timeSystemPanel);
  timePanel.add(timeFormatsPanel);
  String[] choices=getComponentSpecifiedTimeSystemChoices();
  PlotSettingsComboBox<String> timeSystemComboBox=new PlotSettingsComboBox<String>(choices){
    private static final long serialVersionUID=1765748658974789785L;
    @Override public void populate(    PlotConfiguration settings){
      settings.setTimeSystemSetting(getSelection());
    }
    @Override public void reset(    PlotConfiguration settings,    boolean hard){
      if (hard)       setSelection(settings.getTimeSystemSetting());
    }
  }
;
  if (choices.length < 1) {
    timeSystemComboBox.setFocusable(false);
    timeSystemComboBox.setEnabled(false);
  }
  timeSystemPanel.add(new JLabel(BUNDLE.getString("String_Node_Str")));
  timeSystemPanel.add(timeSystemComboBox);
  addSubPanel(timeSystemComboBox);
  choices=getComponentSpecifiedTimeFormatChoices();
  PlotSettingsComboBox<String> timeFormatComboBox=new PlotSettingsComboBox<String>(choices){
    private static final long serialVersionUID=4893624658379045632L;
    @Override public void populate(    PlotConfiguration settings){
      settings.setTimeFormatSetting(getSelection());
    }
    @Override public void reset(    PlotConfiguration settings,    boolean hard){
      if (hard)       setSelection(settings.getTimeFormatSetting());
    }
  }
;
  if (choices.length < 1) {
    timeFormatComboBox.setFocusable(false);
    timeFormatComboBox.setEnabled(false);
  }
  timeFormatComboBox.setSelection(plotViewManifestation.getPlot().getTimeFormatSetting());
  timeFormatsPanel.add(new JLabel(BUNDLE.getString("String_Node_Str")));
  timeFormatsPanel.add(timeFormatComboBox);
  addSubPanel(timeFormatComboBox);
  PlotSettingsRadioButtonGroup<AxisOrientationSetting> timeAxisButtons=new PlotSettingsRadioButtonGroup<AxisOrientationSetting>(AxisOrientationSetting.values()){
    private static final long serialVersionUID=1L;
    @Override public void populate(    PlotConfiguration settings){
      settings.setAxisOrientationSetting(getSelection());
    }
    @Override public void reset(    PlotConfiguration settings,    boolean hard){
      if (hard)       setSelection(settings.getAxisOrientationSetting());
    }
  }
;
  timeAxisButtons.setText(AxisOrientationSetting.X_AXIS_AS_TIME,BUNDLE.getString("String_Node_Str"));
  timeAxisButtons.setText(AxisOrientationSetting.Y_AXIS_AS_TIME,BUNDLE.getString("String_Node_Str"));
  timeAxisButtons.setText(AxisOrientationSetting.Z_AXIS_AS_TIME,BUNDLE.getString("String_Node_Str"));
  setLayout(new GridBagLayout());
  GridBagConstraints gbc=new GridBagConstraints();
  gbc.anchor=GridBagConstraints.NORTHWEST;
  gbc.insets=new Insets(0,0,2,0);
  gbc.gridy=0;
  add(timeSystemPanel,gbc);
  gbc.gridy=1;
  add(timeFormatsPanel,gbc);
  gbc.gridy=2;
  add(timeAxisButtons,gbc);
}

Fixed version (ground truth):
public TimeSetupPanel(){
  JPanel timePanel=new PlotSettingsPanel();
  timePanel.setLayout(new BoxLayout(timePanel,BoxLayout.Y_AXIS));
  timePanel.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
  JPanel timeSystemPanel=new PlotSettingsPanel();
  timeSystemPanel.setLayout(new BoxLayout(timeSystemPanel,BoxLayout.X_AXIS));
  timeSystemPanel.setBorder(BorderFactory.createEmptyBorder(0,5,2,0));
  JPanel timeFormatsPanel=new PlotSettingsPanel();
  timeFormatsPanel.setLayout(new BoxLayout(timeFormatsPanel,BoxLayout.X_AXIS));
  timeFormatsPanel.setBorder(BorderFactory.createEmptyBorder(0,5,2,0));
  timePanel.add(timeSystemPanel);
  timePanel.add(timeFormatsPanel);
  String[] choices=getComponentSpecifiedTimeSystemChoices();
  PlotSettingsComboBox<String> timeSystemComboBox=new PlotSettingsComboBox<String>(choices){
    private static final long serialVersionUID=1765748658974789785L;
    @Override public void populate(    PlotConfiguration settings){
      settings.setTimeSystemSetting(getSelection());
    }
    @Override public void reset(    PlotConfiguration settings,    boolean hard){
      if (hard)       setSelection(settings.getTimeSystemSetting());
    }
  }
;
  if (choices.length < 1) {
    timeSystemComboBox.setFocusable(false);
    timeSystemComboBox.setEnabled(false);
  }
  timeSystemPanel.add(new JLabel(BUNDLE.getString("String_Node_Str")));
  timeSystemPanel.add(timeSystemComboBox);
  addSubPanel(timeSystemComboBox);
  choices=getComponentSpecifiedTimeFormatChoices();
  for (int i=0; i < choices.length; i++) {
    choices[i]=choices[i].replaceAll("String_Node_Str","String_Node_Str");
  }
  PlotSettingsComboBox<String> timeFormatComboBox=new PlotSettingsComboBox<String>(choices){
    private static final long serialVersionUID=4893624658379045632L;
    @Override public void populate(    PlotConfiguration settings){
      settings.setTimeFormatSetting(getSelection());
    }
    @Override public void reset(    PlotConfiguration settings,    boolean hard){
      if (hard)       setSelection(settings.getTimeFormatSetting());
    }
  }
;
  if (choices.length < 1) {
    timeFormatComboBox.setFocusable(false);
    timeFormatComboBox.setEnabled(false);
  }
  timeFormatComboBox.setSelection(plotViewManifestation.getPlot().getTimeFormatSetting());
  timeFormatsPanel.add(new JLabel(BUNDLE.getString("String_Node_Str")));
  timeFormatsPanel.add(timeFormatComboBox);
  addSubPanel(timeFormatComboBox);
  PlotSettingsRadioButtonGroup<AxisOrientationSetting> timeAxisButtons=new PlotSettingsRadioButtonGroup<AxisOrientationSetting>(AxisOrientationSetting.values()){
    private static final long serialVersionUID=1L;
    @Override public void populate(    PlotConfiguration settings){
      settings.setAxisOrientationSetting(getSelection());
    }
    @Override public void reset(    PlotConfiguration settings,    boolean hard){
      if (hard)       setSelection(settings.getAxisOrientationSetting());
    }
  }
;
  timeAxisButtons.setText(AxisOrientationSetting.X_AXIS_AS_TIME,BUNDLE.getString("String_Node_Str"));
  timeAxisButtons.setText(AxisOrientationSetting.Y_AXIS_AS_TIME,BUNDLE.getString("String_Node_Str"));
  timeAxisButtons.setText(AxisOrientationSetting.Z_AXIS_AS_TIME,BUNDLE.getString("String_Node_Str"));
  setLayout(new GridBagLayout());
  GridBagConstraints gbc=new GridBagConstraints();
  gbc.anchor=GridBagConstraints.NORTHWEST;
  gbc.insets=new Insets(0,0,2,0);
  gbc.gridy=0;
  add(timeSystemPanel,gbc);
  gbc.gridy=1;
  add(timeFormatsPanel,gbc);
  gbc.gridy=2;
  add(timeAxisButtons,gbc);
}