[Schmitzm-commits] r1059 - branches/2.2.x/src/skrueger/swing

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


Author: alfonx
Date: 2010-09-25 11:47:23 +0200 (Sat, 25 Sep 2010)
New Revision: 1059

Modified:
   branches/2.2.x/src/skrueger/swing/AtlasDialog.java
Log:
Avoid "null" tile in raster styler dialog

Modified: branches/2.2.x/src/skrueger/swing/AtlasDialog.java
===================================================================
--- branches/2.2.x/src/skrueger/swing/AtlasDialog.java	2010-09-24 16:45:15 UTC (rev 1058)
+++ branches/2.2.x/src/skrueger/swing/AtlasDialog.java	2010-09-25 09:47:23 UTC (rev 1059)
@@ -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