FileDocCategorySizeDatePackage
HelloWorld.javaAPI DocExample469Tue Nov 25 11:29:32 GMT 2003None

HelloWorld

public class HelloWorld extends Object
Your basic, minimal, Hello World type program in Java. $Id: HelloWorld.java,v 1.2 2003/11/25 17:29:31 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		String message = "Hello, World of Java";
		JFrame jf = new JFrame(message);
		jf.getContentPane().add(new JLabel(message));
		jf.pack();
		jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		jf.setVisible(true);