import java.applet.*; import java.awt.*; // The Hello class simply displays the string "Hello, world!" // within the graphics object. public class Hello extends Applet { public void paint(Graphics g) { g.drawString("Hello, world!", 20, 10); } }