wrote the below code and stored it as HelloWorldApplet.java
import java.applet.*;
import java.awt.*;
public class HelloWorldApplet extends Applet
{
public void paint (Graphics g)
{
g.drawString ("Hello World", 25, 50);
}
}
den gave javac HelloWorldApplet.java,den gave java main:
Got Exception in thread "main" java.lang.NoClassFoundError:
wrote HTML code to embed as beow and stored :Main.html
<html>
<title>The Hello, World Applet</title>
<hr>
<applet code="HelloWorldApplet.class" width="320" height="120">
If your browser was Java-enabled, a "Hello, World"
message would appear here.
</applet>
<hr>
</html>
den applet.html..is created but in the footer ,"applet not intialised...so..no message is displayed in d command