My aim is to use swing in my applets, publish the applets and then for users to be able to view the applets by, if necessarily, downloading (automatically) downloading the java swing plug-in. Overall I want the added functionality of swing but without joe public needing to do anything extra above having a java-compliant browser. For the auto-plugin-download apparently one can make use of a HTML Java converter (from Sun) which will convert standard HTML applet code into something which will achieve this auto download. I have downloaded the converter. However before any HTML conversions I can't get off the ground. I've downloaded JDK1.3 from SUN and in my first attempt have used import java.awt.*; import java.applet.*; import java.lang.String; import javax.swing.*; as headers and then created a JButton object. I want to be able to test this locally but can't. The program compiles fine under Javac but then the browser claims not to be able to find the class. I then thought "perhaps despite having JDK1.3 I still don't have the plug-in...". So I did the HTML conversion process on my HTML file and ran it - every time I do this it locks up the PC. I even FTP'd the html and class files on line and ran from there but with the same result. To further confuse the issue there are some applets on-line which test whether the browser is swing-compliant and these seem to work !! I am at a complete loss what to do next. Can anyone help or direct me to some simple Janet-and-John guides on the web ? thanks
Are you sure the plug in is installed?? Otherwise you will get messages like: Applet not inited Class not found. Problems now? Wait to you want to connect your applet to a db.
posted 18 years ago
I've downloaded the plug-in 1.1 and run the installation but still no joy. Does it matter where the plugin is actually installed on the PC ?
Originally posted by Bob Hendry: Are you sure the plug in is installed?? Otherwise you will get messages like: Applet not inited Class not found. Problems now? Wait to you want to connect your applet to a db.
expectation is the root of all heartache - shakespeare. tiny ad: