buttonPanel.setLayout(new GridBagLayout());
<BUG>JButton okButton = new JButton(OK_BUTTON);
okButton.setMnemonic('o');</BUG>
okButton.addActionListener(this);
<BUG>JButton cancelButton = new JButton(CANCEL_BUTTON);
cancelButton.setMnemonic('c');</BUG>
cancelButton.addActionListener(this);
cons = new GridBagConstraints();
cons.insets = new Insets(0, 4, 0, 0);
buttonPanel.add(okButton, cons);

buttonPanel.setLayout(new GridBagLayout());
okButton = new JButton(messages.getString("guiOKButton"));
okButton.setMnemonic('o');
okButton.addActionListener(this);
cancelButton = new JButton(messages.getString("guiCancelButton"));
cancelButton.setMnemonic('c');
cancelButton.addActionListener(this);
cons = new GridBagConstraints();
cons.insets = new Insets(0, 4, 0, 0);
buttonPanel.add(okButton, cons);
