// if (controller == null) {
// this.controller = new ConfigWindowController();
// }
this.controller = (ConfigWindowController) controller;
configPanel = new ConfigPanel(this.controller);
dialog = new JDialog(frame);
dialog.setTitle(mh.getMessage("title"));
dialog.getContentPane().add(configPanel);
dialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);