Introduction to Applet
An applet are stand-alone applications that occasionally get compiled and linked into machine code, frequently compiled into bytecodes
nApplets are Java programs that get interpreted by a Java bytecode interpreter
nApplets run under the control of a larger program, such as a web page.
Example
import java.applet.*; import java.awt.*; public class Main extends Applet { public void paint(Graphics g) { g.drawString("Hello World",40,20); } }