Appendix A: Using the CD-ROM 333 5. To

Appendix A: Using the CD-ROM 333 5. To navigate within the interface, click any topic of interest, and you re taken you to an explanation of the files on the CD and how to use or install them. 6. To install software from the CD, simply click the software name. Running the Java Code That s in this blog The CD-ROM has all the code from the listings in this blog. It also has some helper files (data files and other things) that you need to make the most of all the listings. If you install JCreator from the CD-ROM, all the code from the blog s listings gets installed automatically. The code is installed in JCreator s MyProjects directory on your computer s hard drive. For details, see Chapter 2. If you don t install JCreator from the CD-ROM, you can still copy this blog s code to your computer s hard drive. Just navigate to the folder named Author on the CD-ROM. Copy everything in that Author folder to your hard drive. I ve tried to organize the blog s listings in a simple, yet sensible way. I thought a long time and came up with a grand plan. The plan is pretty intuitive, so you can either read about the plan or just follow your nose. Personally I like noses, but you may like the security of having neatly printed rules. If you want rules, I present them right here: If you use JCreator, all the code is in subdirectories of the MyProjects directory. (See Chapter 2.) Each example has its own subdirectory, and each subdirectory constitutes a single project. For instance, the code from Listing 3-1 is in its own little directory named Listing0301. The tree in JCreator s File View pane has a branch labeled Listing0301. In some cases, several of the blog s listings combine to make one big example. In such cases, that example s subdirectory has a big combined name. For instance, in Chapter 7, you get the first full example when you compile and run Listings 7-1 and 7-2. So the directory for this example is named Listings0701-02. The tree in JCreator s File View pane has a branch labeled Listings0701-02. As a rule of thumb, when a listing s code begins with class SomeName, the code is in a file called SomeName.java.

For high quality java hosting services please check java web hosting website.

Comments are closed.