summaryrefslogtreecommitdiff
path: root/BKUApplet/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'BKUApplet/src/main/java')
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java8
1 files changed, 7 insertions, 1 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 2876c56e..f6ceacd0 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
@@ -187,7 +187,13 @@ public class BKUApplet extends JApplet {
log.warn("Cannot load applet background image. {}", ex.getMessage());
}
- helpListener = new HelpListener(getParameter(HELP_URL), getLocale());
+ try {
+ URL helpUrl = getURLParameter(HELP_URL);
+ helpListener = new HelpListener(helpUrl, getLocale());
+ log.debug("Setting help URL: {}", helpUrl);
+ } catch (MalformedURLException e) {
+ log.warn("Cannot set help URL. {}", e.getMessage());
+ }
SwitchFocusListener switchFocusListener = new SwitchFocusListener(
getAppletContext(), "focusToBrowser");