class Hello { public static void main (String[] arg) { System.out.println("Hello world!"); } } ===================== import java.awt.*; import java.applet.*; public class Hello2 extends Applet { Font f; public void init() { f = new Font ("SansSerif", Font.BOLD, 24); setBackground(Color.yellow); } public void paint (Graphics g) { g.setFont(f); g.setColor(Color.blue); g.drawString("Hello World Igen!", 50,60); } } ==================