>it seems that Mozilla uses at most the Java 5 plugin. You can check that by entering "about
lugins" in the Mozialla/Firefox URL field.<
My version of Modzilla shows java 1.3.1 for the java Applet plugin enabler. It also gave me the warning that I don�t have the latest version, so I downloaded the latest version and got the same java version.
>Assuming that the code doesn't use Java 6-only features you can compile it by using the -source and -target switches of javac. Then the class files are executable by older JVMs/browser plugins.<
Good theory, and we may be getting closer here, but compiling the java code using:
javac -source 1.2 -target 1.2 Applet_Conduit_Fill.java
results in the following error in Modzilla:
===== Monday, November 20, 2006 8:25:09 AM US/Pacific =====
Tried to create the VM in the Java Applet.plugin.
We detected that one already was created for this browser.
Using existing VM.
**Warning** this VM MAY not have the expected Java Runtime Parameters.
java.lang.NoClassDefFoundError: javax/swing/JFormattedTextField
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:582)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1323)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:511)
at sun.applet.AppletPanel.run(AppletPanel.java:289)
at java.lang.Thread.run(Thread.java:489)