- _dialog = new JDialog(inFrame, I18nManager.getText("dialog.undo.title"), true);
- _dialog.setLocationRelativeTo(inFrame);
+ _parentFrame = inFrame;
+ }
+
+ /**
+ * Show the dialog to select which actions to undo
+ */
+ public void show()
+ {
+ _dialog = new JDialog(_parentFrame, I18nManager.getText("dialog.undo.title"), true);
+ _dialog.setLocationRelativeTo(_parentFrame);