buttonPanel.add(refreshButton);
buttonPanel.add(launchButton);
buttonPanel.add(terminateButton);
buttonPanel.add(closeButton);
this.dialog = new XBayaDialog(this.engine.getGUI(), "Amazon EC2 Management Console", mainPanel, buttonPanel);
int width = 800;
int height = 500;
this.dialog.getDialog().setPreferredSize(new Dimension(width, height));
this.dialog.setDefaultButton(closeButton);