| Select New from the File menu. | |
| Select Class from the new tab. | |
| Fill in the Project Dialog | |
| When the New Java File dialog appears fill in all of the file information and make sure to check the Generate Main Function check box. | |
| You will now have a class with main function which you can use for simple Java programs. | |