From 3de114f63e762efc028aea8a935f0a1e1b6b2ed7 Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 8 Apr 2013 18:41:20 +0000 Subject: Get rid of switchFocus Label / Listener git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1164 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/bku/online/applet/BKUApplet.java | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'BKUApplet/src/main/java/at') 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 495b9726..8ae1471b 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 @@ -56,7 +56,6 @@ import at.gv.egiz.bku.gui.BKUGUIFacade; import at.gv.egiz.bku.gui.BKUGUIFacade.Style; import at.gv.egiz.bku.gui.BKUGUIImpl; import at.gv.egiz.bku.gui.HelpListener; -import at.gv.egiz.bku.gui.SwitchFocusListener; import at.gv.egiz.bku.gui.viewer.FontProvider; import at.gv.egiz.bku.online.applet.viewer.URLFontLoader; import at.gv.egiz.smcc.SignatureCardFactory; @@ -219,10 +218,6 @@ public class BKUApplet extends JApplet { log.warn("Cannot set help URL. {}", e.getMessage()); } - SwitchFocusListener switchFocusListener = new SwitchFocusListener( - getAppletContext(), "focusToBrowser"); - - //ViewerHelpListener example: // try { // String absoluteHelpURL = new URL(getCodeBase(), getParameter(HELP_URL)).toString(); @@ -261,7 +256,7 @@ public class BKUApplet extends JApplet { System.err.println("invalid font provider URL " + ex.getMessage()); } gui = createGUI(contentPanel, getLocale(), guiStyle, - backgroundImgURL, fontProvider, helpListener, switchFocusListener); + backgroundImgURL, fontProvider, helpListener); worker = createBKUWorker(this, gui); } @@ -300,10 +295,9 @@ public class BKUApplet extends JApplet { // /////////////////////////////////////////////////////////////////////////// protected BKUGUIFacade createGUI(Container contentPane, Locale locale, Style guiStyle, URL backgroundImgURL, - FontProvider fontProvider, HelpListener helpListener, - SwitchFocusListener switchFocusListener) { + FontProvider fontProvider, HelpListener helpListener) { return new BKUGUIImpl(contentPane, locale, guiStyle, backgroundImgURL, - fontProvider, helpListener, switchFocusListener); + fontProvider, helpListener); } protected AppletBKUWorker createBKUWorker(BKUApplet applet, BKUGUIFacade gui) { -- cgit v1.2.3