Java Reference
In-Depth Information
Press Finish to complete the wizard and create a skeleton project. You should now
be looking at a Java source file. Skeleton code is generated for you, and your NetBeans
IDE window should resemble the one in
Figure 1-5
.
Figure 1-5
.
Viewing the skeleton code generated by NetBeans
Place your cursor anywhere in the source code pane. Press CTRL-A to select all the
skeleton code. Then press Delete to get rid of it. Replace the deleted code with that
from
Listing 1-1
.
Listing 1-1
.
A “Hello, World” Example
package org.java8recipes.chapter01.recipe1_02;