Here are the steps to export your program as an application:

1) Change your main method to take in String args[] --> public static void main(String args[])

2) Create a jar file by choosing project / create jar file. (A jar file is a zipped up file containing all the files in your project.)

3) If on windows, create a shortcut to this:

"C:\Program Files\Java\jdk1.6.0_16\bin\java" -jar "<the full pathname + filename of your jar file starting with C:\.>"

Example

"C:\Program Files\Java\jdk1.6.0_16\bin\java" -jar "C:\Documents and Settings\Joan Thirion\My Documents\junk\testit.jar"

Here are the steps to change your program into an applet and export it. There is no ability to handle System.out.print or scanner though:

TO BE SUPPLIED

Here are the steps to change your program into a full windows frame and export it. It requires recoding and restructuring all Scanner and System.out.print commands though:

TO BE SUPPLIED