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
ratingservice in the
Application Sources folder.
.java file is open in the source editor. The tabs at the top of the source editor let you select a different file (when other files are open); the tabs at the bottom of the editor let you select a different editor view.
If you added the sample code, the code in the source editor should look similar to this: