in the book its said that
applet can be used in source code too,instead of writing it again ang again in HTML pages...
and the code was like follows
import java.applet.Applet;
import java.awt.*;
/*<APPLET
Code=applet4.class
WIDTH=200
HEIGHT=200>
</APPLET>
*/
public class applet4 extends Applet
{
public void paint(Graphics g)
{
g.drawString("Hello",60,100);
}
}
how how will this code used in any HTML page?