aboutsummaryrefslogtreecommitdiffstats
path: root/netx
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-11-27 09:20:50 +0100
committerJiri Vanek <[email protected]>2012-11-27 09:20:50 +0100
commitc1105d2abe3e384e36be912d9043dd5fda3ebc7f (patch)
tree4d23b1f23ce24a8bbd567da2a37e3c585a8c516b /netx
parentb223b7fa545610a6baba77d5d7d8720764d873b5 (diff)
Better error reporting from applets
* netx/net/sourceforge/jnlp/NetxPanel.java: (init) ErrorSplash is shown if fatal exception is cough
Diffstat (limited to 'netx')
-rw-r--r--netx/net/sourceforge/jnlp/NetxPanel.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/NetxPanel.java b/netx/net/sourceforge/jnlp/NetxPanel.java
index f6496b6..ce20d5c 100644
--- a/netx/net/sourceforge/jnlp/NetxPanel.java
+++ b/netx/net/sourceforge/jnlp/NetxPanel.java
@@ -33,6 +33,7 @@ import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import net.sourceforge.jnlp.splashscreen.SplashController;
import net.sourceforge.jnlp.splashscreen.SplashPanel;
+import net.sourceforge.jnlp.splashscreen.SplashUtils;
import sun.applet.AppletViewerPanel;
import sun.awt.SunToolkit;
@@ -178,6 +179,7 @@ public class NetxPanel extends AppletViewerPanel implements SplashController {
} catch (Exception e) {
this.appletAlive = false;
e.printStackTrace();
+ replaceSplash(SplashUtils.getErrorSplashScreen(getWidth(), getHeight(), e));
}
}