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 | |
parent | 24d4e6b4cbc59138008cb4bf4ed729847b0be240 (diff) |
Remove Oracle JDK plugin.jar dependency
-rw-r--r-- | build.xml | 4 | ||||
-rwxr-xr-x | src/jake2/Jake2Applet.java | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -25,7 +25,7 @@ <pathelement location="lib/jogamp/joal.jar"/> <pathelement location="lib/lwjgl/lwjgl.jar"/> <pathelement location="lib/lwjgl/lwjgl_util.jar"/> - <pathelement location="${java.home}/lib/plugin.jar"/> + <!-- pathelement location="${java.home}/lib/plugin.jar"/ --> </path> <!-- usage --> @@ -123,7 +123,7 @@ <include name="mirrors"/> </jar> <property name="classes" value="${java.home}/lib/rt.jar"/> - <property name="plugin" value="${java.home}/lib/plugin.jar"/> + <!-- property name="plugin" value="${java.home}/lib/plugin.jar"/ --> <condition property="classes" value="${java.home}/../Classes/classes.jar"> <os name="Mac OS X"/> </condition> 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(); - } + } */ } }; |