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) { g.setFont(f); g.setColor(Color.black); g.drawString("Hello there!", 5, 50); } }