Program: 21145
Project: 21145
Buggy source:
private void buildGui(){
  setLayout(new GridBagLayout());
  txtName=new JDTextField();
  txtName.setAutoSelect(true);
  txtName.addKeyListener(this);
  txtPassword=new JDTextField();
  txtComment=new JDTextField();
  chbExtract=new JCheckBox(JDLocale.L("String_Node_Str","String_Node_Str"));
  chbExtract.setSelected(true);
  chbExtract.setHorizontalTextPosition(SwingConstants.LEFT);
  brwSaveTo=new ComboBrowseFile("String_Node_Str");
  brwSaveTo.setEditable(true);
  brwSaveTo.setFileSelectionMode(JDFileChooser.DIRECTORIES_ONLY);
  brwSaveTo.setText(JDUtilities.getConfiguration().getDefaultDownloadDirectory());
  txtName.setPreferredSize(new Dimension(450,20));
  txtComment.setPreferredSize(new Dimension(450,20));
  brwSaveTo.setPreferredSize(new Dimension(450,20));
  txtName.setMinimumSize(new Dimension(250,20));
  txtComment.setMinimumSize(new Dimension(250,20));
  brwSaveTo.setMinimumSize(new Dimension(250,20));
  PlainDocument doc=(PlainDocument)txtName.getDocument();
  doc.addDocumentListener(new DocumentListener(){
    public void changedUpdate(    DocumentEvent e){
      onPackageNameChanged(PackageTab.this);
    }
    public void insertUpdate(    DocumentEvent e){
      onPackageNameChanged(PackageTab.this);
    }
    public void removeUpdate(    DocumentEvent e){
      onPackageNameChanged(PackageTab.this);
    }
  }
);
  InternalTableModel internalTableModel=new InternalTableModel();
  table=new JTable(internalTableModel);
  table.setGridColor(Color.BLUE);
  table.setAutoCreateColumnsFromModel(true);
  table.setDragEnabled(true);
  table.setDefaultRenderer(String.class,new InternalTableCellRenderer());
  table.addKeyListener(this);
  table.addMouseListener(this);
  table.getTableHeader().setPreferredSize(new Dimension(-1,25));
  table.getTableHeader().setReorderingAllowed(false);
  table.getTableHeader().addMouseListener(this);
  setPreferredSize(new Dimension(700,350));
  TableColumn col=null;
  for (int c=0; c < internalTableModel.getColumnCount(); c++) {
    col=table.getColumnModel().getColumn(c);
switch (c) {
case 0:
      col.setMinWidth(20);
    col.setMaxWidth(30);
  col.setPreferredWidth(30);
break;
case 1:
col.setMinWidth(50);
col.setMaxWidth(200);
col.setPreferredWidth(150);
break;
case 2:
col.setMinWidth(50);
col.setPreferredWidth(150);
break;
case 3:
col.setMinWidth(50);
col.setMaxWidth(120);
col.setPreferredWidth(100);
break;
case 4:
col.setPreferredWidth(150);
break;
}
}
int n=10;
JPanel north=new JPanel(new BorderLayout(n,n));
JPanel east=new JPanel(new GridLayout(0,1,n / 2,n / 2));
JPanel center=new JPanel(new GridLayout(0,1,n / 2,n / 2));
JPanel extractPW=new JPanel(new GridBagLayout());
north.add(east,BorderLayout.WEST);
north.add(center,BorderLayout.CENTER);
JDUtilities.addToGridBag(extractPW,txtPassword,0,0,1,1,100,100,null,GridBagConstraints.BOTH,GridBagConstraints.WEST);
JDUtilities.addToGridBag(extractPW,chbExtract,1,0,1,1,0,0,null,GridBagConstraints.NONE,GridBagConstraints.EAST);
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
center.add(txtName);
center.add(brwSaveTo);
center.add(extractPW);
center.add(txtComment);
setLayout(new BorderLayout(n,n));
setBorder(new EmptyBorder(n,n,n,n));
add(north,BorderLayout.NORTH);
add(new JScrollPane(table),BorderLayout.CENTER);
buildMenu();
}

Fixed version (ground truth):
private void buildGui(){
  setLayout(new GridBagLayout());
  txtName=new JDTextField();
  txtName.setAutoSelect(true);
  txtPassword=new JDTextField();
  txtComment=new JDTextField();
  chbExtract=new JCheckBox(JDLocale.L("String_Node_Str","String_Node_Str"));
  chbExtract.setSelected(true);
  chbExtract.setHorizontalTextPosition(SwingConstants.LEFT);
  brwSaveTo=new ComboBrowseFile("String_Node_Str");
  brwSaveTo.setEditable(true);
  brwSaveTo.setFileSelectionMode(JDFileChooser.DIRECTORIES_ONLY);
  brwSaveTo.setText(JDUtilities.getConfiguration().getDefaultDownloadDirectory());
  txtName.setPreferredSize(new Dimension(450,20));
  txtComment.setPreferredSize(new Dimension(450,20));
  brwSaveTo.setPreferredSize(new Dimension(450,20));
  txtName.setMinimumSize(new Dimension(250,20));
  txtComment.setMinimumSize(new Dimension(250,20));
  brwSaveTo.setMinimumSize(new Dimension(250,20));
  PlainDocument doc=(PlainDocument)txtName.getDocument();
  doc.addDocumentListener(new DocumentListener(){
    public void changedUpdate(    DocumentEvent e){
      onPackageNameChanged(PackageTab.this);
    }
    public void insertUpdate(    DocumentEvent e){
      onPackageNameChanged(PackageTab.this);
    }
    public void removeUpdate(    DocumentEvent e){
      onPackageNameChanged(PackageTab.this);
    }
  }
);
  InternalTableModel internalTableModel=new InternalTableModel();
  table=new JTable(internalTableModel);
  table.setGridColor(Color.BLUE);
  table.setAutoCreateColumnsFromModel(true);
  table.setDragEnabled(true);
  table.setDefaultRenderer(String.class,new InternalTableCellRenderer());
  table.addKeyListener(this);
  txtName.addKeyListener(this);
  table.addMouseListener(this);
  table.getTableHeader().setPreferredSize(new Dimension(-1,25));
  table.getTableHeader().setReorderingAllowed(false);
  table.getTableHeader().addMouseListener(this);
  setPreferredSize(new Dimension(700,350));
  TableColumn col=null;
  for (int c=0; c < internalTableModel.getColumnCount(); c++) {
    col=table.getColumnModel().getColumn(c);
switch (c) {
case 0:
      col.setMinWidth(20);
    col.setMaxWidth(30);
  col.setPreferredWidth(30);
break;
case 1:
col.setMinWidth(50);
col.setMaxWidth(200);
col.setPreferredWidth(150);
break;
case 2:
col.setMinWidth(50);
col.setPreferredWidth(150);
break;
case 3:
col.setMinWidth(50);
col.setMaxWidth(120);
col.setPreferredWidth(100);
break;
case 4:
col.setPreferredWidth(150);
break;
}
}
int n=10;
JPanel north=new JPanel(new BorderLayout(n,n));
JPanel east=new JPanel(new GridLayout(0,1,n / 2,n / 2));
JPanel center=new JPanel(new GridLayout(0,1,n / 2,n / 2));
JPanel extractPW=new JPanel(new GridBagLayout());
north.add(east,BorderLayout.WEST);
north.add(center,BorderLayout.CENTER);
JDUtilities.addToGridBag(extractPW,txtPassword,0,0,1,1,100,100,null,GridBagConstraints.BOTH,GridBagConstraints.WEST);
JDUtilities.addToGridBag(extractPW,chbExtract,1,0,1,1,0,0,null,GridBagConstraints.NONE,GridBagConstraints.EAST);
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
east.add(new JLabel(JDLocale.L("String_Node_Str","String_Node_Str")));
center.add(txtName);
center.add(brwSaveTo);
center.add(extractPW);
center.add(txtComment);
setLayout(new BorderLayout(n,n));
setBorder(new EmptyBorder(n,n,n,n));
add(north,BorderLayout.NORTH);
add(new JScrollPane(table),BorderLayout.CENTER);
buildMenu();
}