Program: 163592
Project: 163592
Buggy source:
private void createLayout(){
  Container outer=getContentPane();
  outer.removeAll();
  Box verticalBox=Box.createVerticalBox();
  verticalBox.setBorder(new EmptyBorder(13,13,13,13));
  outer.add(verticalBox);
  JPanel packagesPanel=new JPanel();
  packagesPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"String_Node_Str"));
  BoxLayout boxLayout=new BoxLayout(packagesPanel,BoxLayout.Y_AXIS);
  packagesPanel.setLayout(boxLayout);
  JPanel installedPanel=new JPanel();
  installedPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"String_Node_Str"));
  modelInstalled=new DefaultTableModel(15,columnClassI.length){
    @Override public boolean isCellEditable(    int row,    int column){
      return false;
    }
    @Override public Class<?> getColumnClass(    int columnIndex){
      return columnClassI[columnIndex];
    }
  }
;
  JTable tInstalled=new JTable(modelInstalled){
    @Override public String getColumnName(    int column){
      return columnsInstalled.get(column);
    }
  }
;
  tInstalled.setFillsViewportHeight(true);
  tInstalled.setPreferredScrollableViewportSize(new Dimension(tInstalled.getPreferredSize().width,15 * tInstalled.getRowHeight()));
  installedPanel.add(new JScrollPane(tInstalled));
  JPanel updatesPanel=new JPanel();
  updatesPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"String_Node_Str"));
  modelUpdates=new DefaultTableModel(5,columnClassU.length){
    @Override public boolean isCellEditable(    int row,    int column){
      return false;
    }
    @Override public Class<?> getColumnClass(    int columnIndex){
      return columnClassU[columnIndex];
    }
  }
;
  JTable tUpdates=new JTable(modelUpdates){
    @Override public String getColumnName(    int column){
      return columnsUpdates.get(column);
    }
  }
;
  tUpdates.setFillsViewportHeight(true);
  tUpdates.setPreferredScrollableViewportSize(new Dimension(tUpdates.getPreferredSize().width,5 * tUpdates.getRowHeight()));
  updatesPanel.add(new JScrollPane(tUpdates));
  packagesPanel.add(installedPanel);
  packagesPanel.add(updatesPanel);
  JPanel controlPanel=new JPanel();
  GridBagLayout gridBagLayout=new GridBagLayout();
  controlPanel.setLayout(gridBagLayout);
  GridBagConstraints gbc=new GridBagConstraints();
  status=new JLabel();
  status.setText("String_Node_Str");
  gbc.gridx=0;
  gbc.gridy=0;
  controlPanel.add(status,gbc);
  progressBar=new JProgressBar();
  progressBar.setIndeterminate(true);
  gbc.gridx=0;
  gbc.gridy=1;
  gbc.weightx=1.0;
  gbc.fill=GridBagConstraints.HORIZONTAL;
  controlPanel.add(progressBar,gbc);
  actionButton=new JButton("String_Node_Str");
  actionButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      downloadTask=new DownloadTask();
      downloadTask.execute();
    }
  }
);
  actionButton.setVisible(false);
  gbc.gridx=1;
  gbc.gridy=0;
  gbc.weightx=0.0;
  gbc.fill=GridBagConstraints.HORIZONTAL;
  controlPanel.add(actionButton,gbc);
  ActionListener disposer=new ActionListener(){
    public void actionPerformed(    ActionEvent actionEvent){
      cancelTasks();
      setVisible(false);
    }
  }
;
  JButton closeButton=new JButton("String_Node_Str");
  closeButton.addActionListener(disposer);
  closeButton.setEnabled(true);
  gbc.gridx=1;
  gbc.gridy=1;
  gbc.weightx=0.0;
  gbc.fill=GridBagConstraints.HORIZONTAL;
  controlPanel.add(closeButton,gbc);
  verticalBox.add(packagesPanel);
  verticalBox.add(controlPanel);
  pack();
  JRootPane root=getRootPane();
  root.setDefaultButton(closeButton);
  processing.app.ui.Toolkit.registerWindowCloseKeys(root,disposer);
  processing.app.ui.Toolkit.setIcon(this);
  setLocationRelativeTo(null);
  setResizable(false);
  setVisible(true);
}

Fixed version (ground truth):
private void createLayout(){
  Container outer=getContentPane();
  outer.removeAll();
  Box verticalBox=Box.createVerticalBox();
  verticalBox.setBorder(new EmptyBorder(13,13,13,13));
  outer.add(verticalBox);
  JPanel packagesPanel=new JPanel();
  packagesPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"String_Node_Str"));
  BoxLayout boxLayout=new BoxLayout(packagesPanel,BoxLayout.Y_AXIS);
  packagesPanel.setLayout(boxLayout);
  JPanel installedPanel=new JPanel(new BorderLayout());
  installedPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"String_Node_Str"));
  modelInstalled=new DefaultTableModel(15,columnClassI.length){
    @Override public boolean isCellEditable(    int row,    int column){
      return false;
    }
    @Override public Class<?> getColumnClass(    int columnIndex){
      return columnClassI[columnIndex];
    }
  }
;
  JTable tInstalled=new JTable(modelInstalled){
    @Override public String getColumnName(    int column){
      return columnsInstalled.get(column);
    }
  }
;
  tInstalled.setFillsViewportHeight(true);
  tInstalled.setPreferredScrollableViewportSize(new Dimension(tInstalled.getPreferredSize().width,15 * tInstalled.getRowHeight()));
  installedPanel.add(new JScrollPane(tInstalled));
  JPanel updatesPanel=new JPanel(new BorderLayout());
  updatesPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"String_Node_Str"));
  modelUpdates=new DefaultTableModel(5,columnClassU.length){
    @Override public boolean isCellEditable(    int row,    int column){
      return false;
    }
    @Override public Class<?> getColumnClass(    int columnIndex){
      return columnClassU[columnIndex];
    }
  }
;
  JTable tUpdates=new JTable(modelUpdates){
    @Override public String getColumnName(    int column){
      return columnsUpdates.get(column);
    }
  }
;
  tUpdates.setFillsViewportHeight(true);
  tUpdates.setPreferredScrollableViewportSize(new Dimension(tUpdates.getPreferredSize().width,5 * tUpdates.getRowHeight()));
  updatesPanel.add(new JScrollPane(tUpdates),BorderLayout.CENTER);
  packagesPanel.add(installedPanel);
  packagesPanel.add(updatesPanel);
  JPanel controlPanel=new JPanel();
  GridBagLayout gridBagLayout=new GridBagLayout();
  controlPanel.setLayout(gridBagLayout);
  GridBagConstraints gbc=new GridBagConstraints();
  status=new JLabel();
  status.setText("String_Node_Str");
  gbc.gridx=0;
  gbc.gridy=0;
  controlPanel.add(status,gbc);
  progressBar=new JProgressBar();
  progressBar.setIndeterminate(true);
  gbc.gridx=0;
  gbc.gridy=1;
  gbc.weightx=1.0;
  gbc.fill=GridBagConstraints.HORIZONTAL;
  controlPanel.add(progressBar,gbc);
  actionButton=new JButton("String_Node_Str");
  actionButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      if (downloadTaskRunning) {
        downloadTask.cancel(true);
        status.setText("String_Node_Str");
        actionButton.setText("String_Node_Str");
      }
 else {
        downloadTask=new DownloadTask();
        progressBar.setIndeterminate(true);
        downloadTask.execute();
        status.setText("String_Node_Str");
        actionButton.setText("String_Node_Str");
      }
    }
  }
);
  actionButton.setVisible(false);
  gbc.gridx=1;
  gbc.gridy=0;
  gbc.weightx=0.0;
  gbc.fill=GridBagConstraints.HORIZONTAL;
  controlPanel.add(actionButton,gbc);
  ActionListener disposer=new ActionListener(){
    public void actionPerformed(    ActionEvent actionEvent){
      cancelTasks();
      dispose();
    }
  }
;
  JButton closeButton=new JButton("String_Node_Str");
  closeButton.addActionListener(disposer);
  closeButton.setEnabled(true);
  gbc.gridx=1;
  gbc.gridy=1;
  gbc.weightx=0.0;
  gbc.fill=GridBagConstraints.HORIZONTAL;
  controlPanel.add(closeButton,gbc);
  verticalBox.add(packagesPanel);
  verticalBox.add(controlPanel);
  pack();
  JRootPane root=getRootPane();
  root.setDefaultButton(closeButton);
  processing.app.ui.Toolkit.registerWindowCloseKeys(root,disposer);
  processing.app.ui.Toolkit.setIcon(this);
  addWindowListener(new WindowAdapter(){
    @Override public void windowClosing(    WindowEvent e){
      cancelTasks();
      super.windowClosing(e);
    }
  }
);
  setLocationRelativeTo(null);
  setResizable(true);
  setVisible(true);
}