From be6e86c228a37c6d1bce896a4aa564c64b1081fa Mon Sep 17 00:00:00 2001 From: clemenso Date: Wed, 19 Aug 2009 13:08:17 +0000 Subject: default size dialog: 300x189 git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@443 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSTALFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'BKULocal/src/main/java/at') diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSTALFactory.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSTALFactory.java index 577e83c8..4c9554e2 100644 --- a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSTALFactory.java +++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSTALFactory.java @@ -36,6 +36,7 @@ import org.apache.commons.logging.LogFactory; public class LocalSTALFactory implements STALFactory { protected static final Log log = LogFactory.getLog(LocalSTALFactory.class); + protected static final Dimension PREFERRED_SIZE = new Dimension(300, 189); protected String helpURL; protected Locale locale; @@ -69,7 +70,7 @@ public class LocalSTALFactory implements STALFactory { null, helpListener); stal = new LocalBKUWorker(new BKUGuiProxy(dialog, gui), dialog); - dialog.setPreferredSize(new Dimension(400, 200)); + dialog.setPreferredSize(PREFERRED_SIZE); dialog.pack(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension frameSize = dialog.getSize(); -- cgit v1.2.3