Java program structure for web page


This is fast test applet program please type the code and procedure step by step

import java.applet.*;
import java.awt.*;
public class FastApplet extends Applet
Font f = new font (“Arial”, font. Bold,15);
Public void init()
Public void print(Graphics d)
d.drawString(“This is the fast test program”, 40,65);

applet program

applet program

<h1>Fast Applet</h1>
<Applet code = “FastApplet.class” height=238 width = 477>

<applet> tag attribute width and height of FasrApplet