SwingUtilities.invokeLater(new Runnable()
{
public void run()
{
// Create and set up the content pane.
controlCenterPane = new ControlCenterMainPane(info);
// Create and set up the window.
dlg = Utilities.createFrame();
dlg.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
final MainMenuBar menuBar = new MainMenuBar(info);
dlg.addWindowListener(new WindowAdapter() {