Creating the Saluton Program

The first Java program that you create is an application that displays a traditional greeting from the world of computer science: “Saluton mondo!”

To prepare for the first programming project in NetBeans, if you haven’t already done so, create a new project called Java24 by following these steps:

1. Choose the menu command File, New Project.

2. Choose the project category Java and the project type Java Application, and then click Next.

3. Enter Java24 as the project’s name. You see the error message “Project folder already exists and is not empty” if you created this project already.

4. Deselect the Create Main Class checkbox.

5. Click Finish.

The Java24 project is created in its own folder. You can use this project ...

Get Sams Teach Yourself Java™ in 24 Hours, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.