aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-09-25 18:50:18 +0200
committerJiri Vanek <[email protected]>2013-09-25 18:50:18 +0200
commit19e74fe5dacd03e0cb5582f840e15262e39fe24f (patch)
tree38ffc4f47f7641f8d20ba0e0e8a97a97ffb1db64 /plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
parentfcd5c4c69fc5ea84b04f309eb40e295eab921fd8 (diff)
Introduced logging bottleneck
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java b/plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
index e368eca..429cb62 100644
--- a/plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
+++ b/plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
@@ -71,6 +71,7 @@ import javax.swing.SwingUtilities;
import net.sourceforge.jnlp.NetxPanel;
import net.sourceforge.jnlp.PluginParameters;
+import net.sourceforge.jnlp.util.logging.OutputController;
/**
* Lets us construct one using unix-style one shot behaviors
@@ -115,7 +116,7 @@ class PluginAppletPanelFactory {
try {
panelInit.join();
} catch (InterruptedException e) {
- e.printStackTrace();
+ OutputController.getLogger().log(OutputController.Level.ERROR_ALL,e);
}
setAppletViewerSize(panel, params.getWidth(), params.getHeight());
@@ -161,11 +162,11 @@ class PluginAppletPanelFactory {
} catch (InvocationTargetException e) {
// Not being able to resize is non-fatal
PluginDebug.debug("Unable to resize panel: ");
- e.printStackTrace();
+ OutputController.getLogger().log(OutputController.Level.ERROR_ALL,e);
} catch (InterruptedException e) {
// Not being able to resize is non-fatal
PluginDebug.debug("Unable to resize panel: ");
- e.printStackTrace();
+ OutputController.getLogger().log(OutputController.Level.ERROR_ALL,e);
}
}
/**