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 --- .../gv/egiz/bku/local/stal/LocalSTALFactory.java | 3 +- BKULocal/src/main/webapp/WEB-INF/web.xml | 130 ++++++++++----------- 2 files changed, 67 insertions(+), 66 deletions(-) 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(); diff --git a/BKULocal/src/main/webapp/WEB-INF/web.xml b/BKULocal/src/main/webapp/WEB-INF/web.xml index 3b2e7e10..8e696570 100644 --- a/BKULocal/src/main/webapp/WEB-INF/web.xml +++ b/BKULocal/src/main/webapp/WEB-INF/web.xml @@ -1,65 +1,65 @@ - - - - - http-security-layer-request - - - - contextConfigLocation - /WEB-INF/applicationContext.xml - - - - org.springframework.web.context.ContextLoaderListener - - - - - - - BKUServlet - at.gv.egiz.bku.local.webapp.BKURequestHandler - - - help - /help.jsp - - - BKUServlet - /http-security-layer-request - - - BKUServlet - /https-security-layer-request - - - help - /help/* - - - - - index.html - index.htm - index.jsp - default.html - default.htm - default.jsp - - \ No newline at end of file + + + + + http-security-layer-request + + + + contextConfigLocation + /WEB-INF/applicationContext.xml + + + + org.springframework.web.context.ContextLoaderListener + + + + + + + BKUServlet + at.gv.egiz.bku.local.webapp.BKURequestHandler + + + help + /help.jsp + + + BKUServlet + /http-security-layer-request + + + BKUServlet + /https-security-layer-request + + + help + /help/* + + + + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + + -- cgit v1.2.3