import java.awt.Graphics; import java.awt.Font; import java.awt.Color; public class HelloApp extends java.applet.Applet { Font f = new Font("TimesRoman", Font.BOLD, 36); public void paint(Graphics g) { i++; g.setFont(f); g.setColor(Color.black); g.drawString("Hello there! : "+i, 5, 50); } int i=0; }