[Schmitzm-commits] r1136 - trunk/src/skrueger/swing
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 15 03:08:46 CEST 2010
Author: alfonx
Date: 2010-10-15 03:08:46 +0200 (Fri, 15 Oct 2010)
New Revision: 1136
Modified:
trunk/src/skrueger/swing/TranslationAskJDialog.java
Log:
Removed getParentWindow from TranslationAskDialog
Modified: trunk/src/skrueger/swing/TranslationAskJDialog.java
===================================================================
--- trunk/src/skrueger/swing/TranslationAskJDialog.java 2010-10-14 22:32:26 UTC (rev 1135)
+++ trunk/src/skrueger/swing/TranslationAskJDialog.java 2010-10-15 01:08:46 UTC (rev 1136)
@@ -98,15 +98,10 @@
* This class handles the cancel button itself. You may still want to listen
* to PROPERTY_APPLY_AND_CLOSE events. This dialog is modal. The dialog has
* to be set visible afterwards.<br/>
- *
- * @param owner
- * A component of the GUI that this dialog is related to. If no
- * {@link Window} is passed, SwingUtil.getParentWindow(owner) is
- * called.
*/
public TranslationAskJDialog(Component owner,
final JComponent... translationEditJPanels) {
- super(SwingUtil.getParentWindow(owner));
+ super(owner);
setComponents(translationEditJPanels);
}
@@ -122,7 +117,7 @@
* Using this constructor, you have to call setComponents afterwards.
*/
public TranslationAskJDialog(Component owner) {
- super(SwingUtil.getParentWindow(owner));
+ super(owner);
}
/**
More information about the Schmitzm-commits
mailing list