JAVA CODE:
import java.awt.*;
import java.applet.*;
public class Applet1 extends Applet
{
public void paint(Graphics g)
{
g.drawString("Hello from ATS", 60, 75);
}
}
HTML CODE:
<title>Applet Test Page</title>
<h1>Applet Test Page</h1>
<applet code="Applet1.class" width=200 height=150>
</applet>
<h1>Applet Test Page</h1>
<applet code="Applet1.class" width=200 height=150>
</applet>