/** User wants to cancel the configuration */ private void cancelAction() { // setVisible(false); // doing both this and dispose() seems to cause problems in OpenJDK (the // setVisible(true) call never returns) myConfigManager.dialogConfigurationFinished(new ConfigDialogClosedException()); super.dispose(); }