//HelloWorld3.java MrG 20110912
//purpose: helloworld with GUI input dialog box
//required file: HelloWorld3.java
//translator phase: javac HelloWorld3.java
//interpreter phase: java HelloWorld3
import javax.swing.JOptionPane;
public class HelloWorld3
{
public static void main(String[] args)
{
String myName = JOptionPane.showInputDialog("name? ");
System.out.println("hello, " + myName + ", how about a nice game of chess?");
System.exit(0);
}
}