diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-07-16 11:44:24 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-07-16 11:44:24 +0000 |
commit | df6a1f22d79f90e0cbdd6bd7463cd3d0c2ed1e42 (patch) | |
tree | 40f7a9ed20a09e06ac83394fa10a4cb423688eb5 /BKUApplet/src/main/java/at/gv/egiz | |
parent | 572ca28fe969eba70e809eea3a0a83758d0d87ef (diff) | |
download | mocca-df6a1f22d79f90e0cbdd6bd7463cd3d0c2ed1e42.tar.gz mocca-df6a1f22d79f90e0cbdd6bd7463cd3d0c2ed1e42.tar.bz2 mocca-df6a1f22d79f90e0cbdd6bd7463cd3d0c2ed1e42.zip |
enforceRecommendedPinLength param not included by default
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@783 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet/src/main/java/at/gv/egiz')
-rw-r--r-- | BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java index b7b72b5d..2876c56e 100644 --- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java +++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java @@ -165,8 +165,8 @@ public class BKUApplet extends JApplet { if (Boolean.parseBoolean(getParameter(ENFORCE_RECOMMENDED_PIN_LENGTH))) { SignatureCardFactory.ENFORCE_RECOMMENDED_PIN_LENGTH = true; - log.debug("Enforce recommended pin length = {}.", SignatureCardFactory.ENFORCE_RECOMMENDED_PIN_LENGTH); } + log.debug("Enforce recommended pin length = {}.", SignatureCardFactory.ENFORCE_RECOMMENDED_PIN_LENGTH); BKUGUIFacade.Style guiStyle; String guiStyleParam = getParameter(GUI_STYLE); @@ -219,17 +219,20 @@ public class BKUApplet extends JApplet { } } + BKUGUIFacade gui = null; + URLFontLoader fontProvider = null; + try { - URLFontLoader fontProvider = new URLFontLoader(getCodeBase()); + fontProvider = new URLFontLoader(getCodeBase()); fontProvider.loadInBackground(); - BKUGUIFacade gui = createGUI(contentPanel, getLocale(), guiStyle, - backgroundImgURL, fontProvider, helpListener, switchFocusListener); - - worker = createBKUWorker(this, gui); + } catch (MalformedURLException ex) { log.error("Failed to load font provider URL.", ex); System.err.println("invalid font provider URL " + ex.getMessage()); } + gui = createGUI(contentPanel, getLocale(), guiStyle, + backgroundImgURL, fontProvider, helpListener, switchFocusListener); + worker = createBKUWorker(this, gui); } @Override |