When you complete the steps for creating a Java class, the Application Navigator should look like this:
Notice that the
.java file has been added to your project under the package node
project1 in the
Application Sources folder.
If you added the code samples and generated accessors, the code in the source editor should look like this:
Copyright © 1997, 2009, Oracle. All rights reserved.