diff options
author | Sven Gothel <[email protected]> | 2012-10-16 14:51:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-16 14:51:59 +0200 |
commit | bb4ec5842eae16e9fbeeb3f4662f4b235cf56315 (patch) | |
tree | e9aa65c894958e0d73517b460c218d01fde03962 /src/jake2 | |
parent | 24d4e6b4cbc59138008cb4bf4ed729847b0be240 (diff) |
Remove Oracle JDK plugin.jar dependency
Diffstat (limited to 'src/jake2')
-rwxr-xr-x | src/jake2/Jake2Applet.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jake2/Jake2Applet.java b/src/jake2/Jake2Applet.java index 7f1d558..62df6d3 100755 --- a/src/jake2/Jake2Applet.java +++ b/src/jake2/Jake2Applet.java @@ -33,7 +33,7 @@ import java.awt.BorderLayout; import java.awt.Color; import javax.swing.JApplet; -import netscape.javascript.*; +// import netscape.javascript.*; /** * Jake2 is the main class of Quake2 for Java. @@ -41,7 +41,7 @@ import netscape.javascript.*; @SuppressWarnings("serial") public class Jake2Applet extends JApplet { - private JSObject self; + // FIXME private JSObject self; private volatile boolean shouldShutDown; private boolean shutDown; private Object shutDownLock = new Object(); @@ -85,6 +85,7 @@ public class Jake2Applet extends JApplet { Qcommon.applet = Jake2Applet.this; Qcommon.sizeChangeListener = new SizeChangeListener() { public void sizeChanged(int width, int height) { + /** FIXME try { if (self == null) { JSObject win = JSObject.getWindow(Jake2Applet.this); @@ -96,7 +97,7 @@ public class Jake2Applet extends JApplet { self.setMember("height", new Integer(height)); } catch (Exception e) { e.printStackTrace(); - } + } */ } }; |