Java Reference
In-Depth Information
FIGURE 17.6
Import from file system.
Click the Finish button. Eclipse will import these java files into the src directory
in your project.
Click on the src subdirectory in the Package Explorer in Eclipse, and then the
Default Package subdirectory. You should see the java source files from Chapter 8 in
the Explorer. Try clicking on one of the Java files. You should see the Java code in the
edit window in the center of the screen. Notice how Eclipse color codes the different
parts of the Java code to make it easier for you to read and understand the code.
You can have Eclipse show you the line numbers of your source statements.
Move your cursor to the left-most section of the source edit window. There should
be a blue bar on the side of that window. Click the right mouse button, and select
the Show Line Numbers option from that dialog.
Eclipse has already compiled the classes for you. Check the bin directory in
your project workspace. If you've followed the directory name suggestions, that di-
rectory would be C:\java4cobol\workspace\Chapter8\bin. The bin directory con-
tains the newly compiled class files.
Search WWH ::




Custom Search