This applet paints text and shapes to the display by overriding the paint() method.
public void paint(Graphics g) {
g.drawString("Hello Everyone!", 20, 30);
g.drawRect(25, 45, 80, 80);
g.drawOval(45, 67, 10, 10);
g.drawOval(85, 67, 10, 10);
g.drawArc(45, 95, 50, 10, 180, 180);
}