this.getRootPane().setDefaultButton(okButton);
this.okButton.addActionListener(this);
this.buttonsPanel.add(okButton);
this.mainPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
this.mainPanel.add(northPanel, BorderLayout.NORTH);
<BUG>this.mainPanel.add(responseScrollPane, BorderLayout.CENTER);</BUG>
this.mainPanel.add(buttonsPanel, BorderLayout.SOUTH);
this.getContentPane().add(mainPanel);
<BUG>this.setSize(new Dimension(400, 200));</BUG>
}

this.getRootPane().setDefaultButton(okButton);
this.okButton.addActionListener(this);
this.buttonsPanel.add(okButton);
this.mainPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
this.mainPanel.add(northPanel, BorderLayout.NORTH);
this.mainPanel.add(buttonsPanel, BorderLayout.SOUTH);
this.getContentPane().add(mainPanel);
}
