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 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 in the toolbar.
If the application uses standard input and output, the Console window is launched.
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