Specifying the Main Class to Run for a Project

See Also 

Many templates set the main class for you. If the main class is not set, you can set it using the Set Main Class dialog box.

To set the main class:

  1. Right-click the file for the class in the Filesystems window.
  2. In the contextual menu, choose Tools and choose Set as Project Main Class.
See Also
Compiling, Running, and Debugging a Project

Legal Notices