Running an Application from the IDE

If a runnable class's main method is implemented, you can run it as an application from the IDE. Generating the main method is an option in the New Applet SmartGuide.   Runnable classes are indicated with the Runnable symbol jexec.gif (864 bytes) in browsers.

Command line arguments and system properties for an application can be set in the class's Properties notebook. To open the Properties notebook, select Properties from the class's pop-up menu.  Go to the Program page of the notebook to set arguments and properties.

To run an application from the IDE, select Run, Run main from the class's pop-up menu, or select the class and click the Run button runup.gif (1037 bytes) in the toolbar.

If the application uses standard input and output, the Console window is launched.

ngrelt.gif (466 bytes)
Running an Applet from the IDE
Creating an Applet or Application
Creating a Quick, Basic Sample Applet or Application
Experimenting with Code Fragments
Loading External Classes Dynamically