import java.applet.Applet; import java.awt.*; public class Hello extends Applet { public void paint(Graphics g) { g.setFont(new Font("Courier", Font.BOLD, 24)); g.drawString("Hello world!", 60, 95); } }