Program: 44170
Project: 44170
Buggy source:
public TimeSlicerTab(){
  setLayout(new BoxLayout(this,BoxLayout.LINE_AXIS));
  backgroundColor=new Color(231,237,246);
  polygonsMaxColor=new Color(50,255,255,255);
  branchesMaxColor=new Color(255,5,50,255);
  polygonsMinColor=new Color(0,0,0,100);
  branchesMinColor=new Color(0,0,0,255);
  GridBagConstraints c=new GridBagConstraints();
  nuclearIcon=CreateImageIcon("String_Node_Str");
  treeIcon=CreateImageIcon("String_Node_Str");
  treesIcon=CreateImageIcon("String_Node_Str");
  processingIcon=CreateImageIcon("String_Node_Str");
  saveIcon=CreateImageIcon("String_Node_Str");
  errorIcon=CreateImageIcon("String_Node_Str");
  burnInParser=new JTextField("String_Node_Str",10);
  coordinatesNameParser=new JTextField("String_Node_Str",10);
  rateAttNameParser=new JTextField("String_Node_Str",10);
  precisionAttNameParser=new JTextField("String_Node_Str",10);
  numberOfIntervalsParser=new JTextField("String_Node_Str",5);
  maxAltMappingParser=new JTextField("String_Node_Str",5);
  kmlPathParser=new JTextField("String_Node_Str",10);
  HPDParser=new JTextField("String_Node_Str",5);
  generateKml=new JButton("String_Node_Str",nuclearIcon);
  openTree=new JButton("String_Node_Str",treeIcon);
  openTrees=new JButton("String_Node_Str",treesIcon);
  generateProcessing=new JButton("String_Node_Str",processingIcon);
  saveProcessingPlot=new JButton("String_Node_Str",saveIcon);
  polygonsMaxColorChooser=new JButton("String_Node_Str");
  branchesMaxColorChooser=new JButton("String_Node_Str");
  polygonsMinColorChooser=new JButton("String_Node_Str");
  branchesMinColorChooser=new JButton("String_Node_Str");
  branchesWidthParser=new JSlider(JSlider.HORIZONTAL,2,10,4);
  branchesWidthParser.setMajorTickSpacing(2);
  branchesWidthParser.setMinorTickSpacing(1);
  branchesWidthParser.setPaintTicks(true);
  branchesWidthParser.setPaintLabels(true);
  gridSizeParser=new JSlider(JSlider.HORIZONTAL,100,200,100);
  gridSizeParser.setMajorTickSpacing(50);
  gridSizeParser.setMinorTickSpacing(10);
  gridSizeParser.setPaintTicks(true);
  gridSizeParser.setPaintLabels(true);
  progressBar=new JProgressBar();
  trueNoiseParser=new JCheckBox();
  imputeParser=new JCheckBox();
  leftPanel=new JPanel();
  leftPanel.setBackground(backgroundColor);
  leftPanel.setLayout(new BoxLayout(leftPanel,BoxLayout.Y_AXIS));
  leftPanel.setPreferredSize(new Dimension(leftPanelWidth,leftPanelHeight));
  openTree.addActionListener(new ListenOpenTree());
  openTrees.addActionListener(new ListenOpenTrees());
  generateKml.addActionListener(new ListenGenerateKml());
  generateProcessing.addActionListener(new ListenGenerateProcessing());
  saveProcessingPlot.addActionListener(new ListenSaveProcessingPlot());
  imputeParser.addActionListener(new listenImputeParser());
  polygonsMaxColorChooser.addActionListener(new ListenPolygonsMaxColorChooser());
  branchesMaxColorChooser.addActionListener(new ListenBranchesMaxColorChooser());
  polygonsMinColorChooser.addActionListener(new ListenPolygonsMinColorChooser());
  branchesMinColorChooser.addActionListener(new ListenBranchesMinColorChooser());
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(openTree);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(openTrees);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  dateSpinner=new DateSpinner();
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(dateSpinner,c);
  String era[]={"String_Node_Str","String_Node_Str"};
  eraParser=new JComboBox(era);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(eraParser,c);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(coordinatesNameParser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(true);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(branchesMinColorChooser,c);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(branchesMaxColorChooser,c);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(branchesWidthParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(maxAltMappingParser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(false);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(polygonsMinColorChooser,c);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(polygonsMaxColorChooser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(false);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  imputeParser.setSelected(true);
  tmpPanel.add(imputeParser);
  trueNoiseParser.setSelected(true);
  tmpPanel.add(trueNoiseParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(rateAttNameParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(precisionAttNameParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(burnInParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(HPDParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(numberOfIntervalsParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(gridSizeParser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(true);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(kmlPathParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(generateKml,c);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(generateProcessing,c);
  c.ipady=7;
  c.gridwidth=3;
  c.gridx=0;
  c.gridy=1;
  tmpPanel.add(progressBar,c);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(saveProcessingPlot);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(true);
  leftPanel.add(sp);
  JScrollPane leftScrollPane=new JScrollPane(leftPanel,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  leftScrollPane.setMinimumSize(new Dimension(leftPanelWidth + 60,leftPanelHeight));
  add(leftScrollPane,BorderLayout.CENTER);
  timeSlicerToProcessing=new TimeSlicerToProcessing();
  timeSlicerToProcessing.setPreferredSize(new Dimension(2048,1025));
  if (System.getProperty("String_Node_Str").toLowerCase().startsWith("String_Node_Str")) {
    JScrollPane rightScrollPane=new JScrollPane(timeSlicerToProcessing,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
    add(rightScrollPane,BorderLayout.CENTER);
  }
 else {
    ScrollPane rightScrollPane=new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);
    rightScrollPane.add(timeSlicerToProcessing);
    add(rightScrollPane,BorderLayout.CENTER);
  }
}

Fixed version (ground truth):
public TimeSlicerTab(){
  setLayout(new BoxLayout(this,BoxLayout.LINE_AXIS));
  backgroundColor=new Color(231,237,246);
  polygonsMaxColor=new Color(50,255,255,255);
  branchesMaxColor=new Color(255,5,50,255);
  polygonsMinColor=new Color(0,0,0,100);
  branchesMinColor=new Color(0,0,0,255);
  GridBagConstraints c=new GridBagConstraints();
  nuclearIcon=CreateImageIcon("String_Node_Str");
  treeIcon=CreateImageIcon("String_Node_Str");
  treesIcon=CreateImageIcon("String_Node_Str");
  processingIcon=CreateImageIcon("String_Node_Str");
  saveIcon=CreateImageIcon("String_Node_Str");
  errorIcon=CreateImageIcon("String_Node_Str");
  burnInParser=new JTextField("String_Node_Str",10);
  coordinatesNameParser=new JTextField("String_Node_Str",10);
  rateAttNameParser=new JTextField("String_Node_Str",10);
  precisionAttNameParser=new JTextField("String_Node_Str",10);
  numberOfIntervalsParser=new JTextField("String_Node_Str",5);
  maxAltMappingParser=new JTextField("String_Node_Str",5);
  kmlPathParser=new JTextField("String_Node_Str",10);
  HPDParser=new JTextField("String_Node_Str",5);
  generateKml=new JButton("String_Node_Str",nuclearIcon);
  openTree=new JButton("String_Node_Str",treeIcon);
  openTrees=new JButton("String_Node_Str",treesIcon);
  generateProcessing=new JButton("String_Node_Str",processingIcon);
  saveProcessingPlot=new JButton("String_Node_Str",saveIcon);
  polygonsMaxColorChooser=new JButton("String_Node_Str");
  branchesMaxColorChooser=new JButton("String_Node_Str");
  polygonsMinColorChooser=new JButton("String_Node_Str");
  branchesMinColorChooser=new JButton("String_Node_Str");
  branchesWidthParser=new JSlider(JSlider.HORIZONTAL,2,10,4);
  branchesWidthParser.setMajorTickSpacing(2);
  branchesWidthParser.setMinorTickSpacing(1);
  branchesWidthParser.setPaintTicks(true);
  branchesWidthParser.setPaintLabels(true);
  gridSizeParser=new JSlider(JSlider.HORIZONTAL,100,200,100);
  gridSizeParser.setMajorTickSpacing(50);
  gridSizeParser.setMinorTickSpacing(10);
  gridSizeParser.setPaintTicks(true);
  gridSizeParser.setPaintLabels(true);
  progressBar=new JProgressBar();
  trueNoiseParser=new JCheckBox();
  imputeParser=new JCheckBox();
  leftPanel=new JPanel();
  leftPanel.setBackground(backgroundColor);
  leftPanel.setLayout(new BoxLayout(leftPanel,BoxLayout.Y_AXIS));
  leftPanel.setPreferredSize(new Dimension(leftPanelWidth,leftPanelHeight));
  openTree.addActionListener(new ListenOpenTree());
  openTrees.addActionListener(new ListenOpenTrees());
  generateKml.addActionListener(new ListenGenerateKml());
  generateProcessing.addActionListener(new ListenGenerateProcessing());
  saveProcessingPlot.addActionListener(new ListenSaveProcessingPlot());
  imputeParser.addActionListener(new listenImputeParser());
  polygonsMaxColorChooser.addActionListener(new ListenPolygonsMaxColorChooser());
  branchesMaxColorChooser.addActionListener(new ListenBranchesMaxColorChooser());
  polygonsMinColorChooser.addActionListener(new ListenPolygonsMinColorChooser());
  branchesMinColorChooser.addActionListener(new ListenBranchesMinColorChooser());
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(openTree);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(openTrees);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  dateSpinner=new DateSpinner();
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(dateSpinner,c);
  String era[]={"String_Node_Str","String_Node_Str"};
  eraParser=new JComboBox(era);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(eraParser,c);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(coordinatesNameParser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(true);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(branchesMinColorChooser,c);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(branchesMaxColorChooser,c);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(branchesWidthParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(maxAltMappingParser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(false);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(polygonsMinColorChooser,c);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(polygonsMaxColorChooser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(false);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  imputeParser.setSelected(true);
  tmpPanel.add(imputeParser);
  trueNoiseParser.setSelected(true);
  tmpPanel.add(trueNoiseParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(rateAttNameParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(precisionAttNameParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(burnInParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(HPDParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(numberOfIntervalsParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(gridSizeParser);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(false);
  leftPanel.add(sp);
  tmpPanelsHolder=new JPanel();
  tmpPanelsHolder.setLayout(new BoxLayout(tmpPanelsHolder,BoxLayout.Y_AXIS));
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(kmlPathParser);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setLayout(new GridBagLayout());
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  c.fill=GridBagConstraints.HORIZONTAL;
  c.gridx=0;
  c.gridy=0;
  tmpPanel.add(generateKml,c);
  c.gridx=2;
  c.gridy=0;
  tmpPanel.add(generateProcessing,c);
  c.ipady=7;
  c.gridwidth=3;
  c.gridx=0;
  c.gridy=1;
  tmpPanel.add(progressBar,c);
  tmpPanelsHolder.add(tmpPanel);
  tmpPanel=new JPanel();
  tmpPanel.setMaximumSize(new Dimension(leftPanelWidth + 60,100));
  tmpPanel.setBackground(backgroundColor);
  tmpPanel.setBorder(new TitledBorder("String_Node_Str"));
  tmpPanel.add(saveProcessingPlot);
  tmpPanelsHolder.add(tmpPanel);
  sp=new SpinningPanel(tmpPanelsHolder,"String_Node_Str",new Dimension(leftPanelWidth + 60,20));
  sp.showBottom(false);
  leftPanel.add(sp);
  JScrollPane leftScrollPane=new JScrollPane(leftPanel,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  leftScrollPane.setMinimumSize(new Dimension(leftPanelWidth + 60,leftPanelHeight));
  add(leftScrollPane,BorderLayout.CENTER);
  timeSlicerToProcessing=new TimeSlicerToProcessing();
  timeSlicerToProcessing.setPreferredSize(new Dimension(2048,1025));
  if (System.getProperty("String_Node_Str").toLowerCase().startsWith("String_Node_Str")) {
    JScrollPane rightScrollPane=new JScrollPane(timeSlicerToProcessing,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
    add(rightScrollPane,BorderLayout.CENTER);
  }
 else {
    ScrollPane rightScrollPane=new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);
    rightScrollPane.add(timeSlicerToProcessing);
    add(rightScrollPane,BorderLayout.CENTER);
  }
}