[Schmitzm-commits] r1060 - trunk/src/skrueger/swing

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Sep 25 11:48:30 CEST 2010


Author: alfonx
Date: 2010-09-25 11:48:30 +0200 (Sat, 25 Sep 2010)
New Revision: 1060

Modified:
   trunk/src/skrueger/swing/AtlasDialog.java
Log:
Avoid "null" titles in Atlas Raster Styler dialog

Modified: trunk/src/skrueger/swing/AtlasDialog.java
===================================================================
--- trunk/src/skrueger/swing/AtlasDialog.java	2010-09-25 09:47:23 UTC (rev 1059)
+++ trunk/src/skrueger/swing/AtlasDialog.java	2010-09-25 09:48:30 UTC (rev 1060)
@@ -26,14 +26,15 @@
 		super(SwingUtil.getParentWindow(owner), title);
 		initDialog();
 	}
+	
+	public AtlasDialog(final Component owner) {
+		super(SwingUtil.getParentWindow(owner));
+		initDialog();
+	}
 
 	/** A flag checking that we just get disposed once **/
 	protected boolean isDisposed = false;
 
-	public AtlasDialog(final Component parentWindowComponent) {
-		this(parentWindowComponent, null);
-	}
-
 	private void initDialog() {
 
 		setLayout(new MigLayout("gap 1, inset 1"));



More information about the Schmitzm-commits mailing list