simba
October 7th, 1999, 03:13 PM
Hi: I am trying to load a swing based applet from a javawebserver2.0 and it gives me the error or prompt at the status bar as " Applet <applet name> notinited " and i have a greyed out area at the place where the applet is supposed to show up. The files (html+java+class) are in the public_html dir of javawebserver.I am running the html file using "http://localhost:8080/filename.html. I downloaded Java Plug-In to enable swing components on applet. Javawebserver is loaded on my machine and my working env is W95. Here is the html code i used:
<html>
<head><title> Applet</title></head>
<body>
<H1> GOOD JOB </H1>
<EMBED type="application/x-java-applet;version=1.2"
width="120" height="160" align="middle"
code="frontend1.class"
codebase="/"
pluginspage="http://java.sun.com/products/plugin/1.2/
plugin-install.html">
<NOEMBED>
No JDK 1.2 support found!
</NOEMBED>
</EMBED>
</body>
</html>
Also could somebody tell where i can download "swingall.jar" file. I thought it was supposed to come along with JDK1.2.
Coming back to my problem, i tried even to load an AWT applet from the same javawebserver, but it gives me status bar prompt "java.lang.NoClassDefFoundError" Why is this so ????
Both of the applets works fine with AppletViewer. By the way, i am using Netscape Communicator 4.5
Please reply asap.
<html>
<head><title> Applet</title></head>
<body>
<H1> GOOD JOB </H1>
<EMBED type="application/x-java-applet;version=1.2"
width="120" height="160" align="middle"
code="frontend1.class"
codebase="/"
pluginspage="http://java.sun.com/products/plugin/1.2/
plugin-install.html">
<NOEMBED>
No JDK 1.2 support found!
</NOEMBED>
</EMBED>
</body>
</html>
Also could somebody tell where i can download "swingall.jar" file. I thought it was supposed to come along with JDK1.2.
Coming back to my problem, i tried even to load an AWT applet from the same javawebserver, but it gives me status bar prompt "java.lang.NoClassDefFoundError" Why is this so ????
Both of the applets works fine with AppletViewer. By the way, i am using Netscape Communicator 4.5
Please reply asap.