diff options
author | Jiri Vanek <[email protected]> | 2012-11-27 09:20:50 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2012-11-27 09:20:50 +0100 |
commit | c1105d2abe3e384e36be912d9043dd5fda3ebc7f (patch) | |
tree | 4d23b1f23ce24a8bbd567da2a37e3c585a8c516b /plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | |
parent | b223b7fa545610a6baba77d5d7d8720764d873b5 (diff) |
Better error reporting from applets
* netx/net/sourceforge/jnlp/NetxPanel.java: (init) ErrorSplash is shown
if fatal exception is cough
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginAppletViewer.java')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java index 974c2e4..f9d9422 100644 --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java @@ -114,6 +114,7 @@ import sun.awt.X11.XEmbeddedFrame; import sun.misc.Ref; import com.sun.jndi.toolkit.url.UrlUtil; +import java.awt.BorderLayout; import java.util.Hashtable; import java.util.Vector; import net.sourceforge.jnlp.splashscreen.SplashController; @@ -453,9 +454,11 @@ public class PluginAppletViewer extends XEmbeddedFrame public void run() { splashPanel.getSplashComponent().setVisible(false); splashPanel.stopAnimation(); - remove(splashPanel.getSplashComponent()); + removeAll(); + setLayout(new BorderLayout()); + //remove(splashPanel.getSplashComponent()); splashPanel = null; - remove(panel); + //remove(panel); // Re-add the applet to notify container add(panel); panel.setVisible(true); |