Setting the main class in the project


When you have created a project and added some objects to it, you can then set the main class for it. This is the class that will be executed when you execute the project as whole (CTRL + SHIFT + F9). This saves you from having to find and select the main class of your application in order to run your program.

To set the main class for a project:

Contents Prev Next Index