An applet life cycle contains the following methods:*init()*start()*stop()*destroy()Besides these your applet can implement the paint() method.Example:
import java.applet.Applet;import java.awt.Graphics;
import java.applet.Applet; import java.awt.Graphics; public class HelloWorld extends Applet { public void paint(Graphics g) { g.drawString(\"Hello world!\", 50, 100); } }