File | Edit | View | Templates | Windows | Compiler | Run | Help
Run - The file can be run as an application or as an applet. In either case, if the current class is in a package, the class path must include the source of that package. If the file is run as an applet, "Run Previous" will subsequently fail, because the temporary html file used for the run is automatically deleted.
Run Previous - Executes the most recently run executable. If no file has been run, then a file selection dialog will appear so that the user may choose an executable to run. If the last file run was an applet, this option will fail because the temporary HTML file that is created to run the applet is automatically deleted when the applet completes execution.
Run File - Raises a file selection dialog box so the user may select and executable to run. Using this option, it is also possible to enter command line arguments to a program. Note that this option will not execute an applet (see information in Run Previous).
Cleanup Session - Closes the run window. It is recommended that you use the cleanup option to close the run window rather than closing the window manually. This allows GRASP to perform a few housekeeping chores, as well as cleanup any tasks that may have gotten away from the programmer.
When running a file, a "Run Control" dialog appears. If something goes wrong with your program, such as getting caught in an infinite loop, one of the two buttons, interrupt or kill, may be used to end the program. To prevent accidental runaway programs, it is recommended that you use the kill option when manual termination of a process is required.