Important Information about the CD-ROM Information Systems Programming with Javaª, Second Edition by Andrew C. Staugaard, Jr. ISBN: 0-13-101860-4 Copyright 2004 Pearson Education, Inc. NOTE: The staugIOReadMe file referred to in the textbook is missing from this first printing CD. In addition, the readme file on the CD is incorrect relative to installation of the staugIO package. Please refer to this document or the textbook Web site in lieu of the CD for this information. Using the staugIO Package ------------------------- The staugIO package includes the StaugIO class which provides convenient GUI dialog boxes and information boxes for keyboard input and display output. Much of the code within this text imports this package to provide easy I/O while students are learning the Java language basics and until they learn how to create GUIs of your own in Chapters 11 and 12. To use the staugIO package you should first copy the staugIO folder on this CD to the directory were most of your Java projects and programs will reside. This is referred to as your Òworking directory.Ó Once placed in your working directory, you must use your IDE to set a path to the staugIO directory so that the IDE knows how to find it when it is imported into a program. The following is a summary of how to set the package path for both the Sun ONE Studio and JBuilder IDEÕs. I also suggest that, when you want to run a given Java program on the text CD, you first copy it into your working directory, then compile and run it from this directory. The Java program source files and the staugIO package are found within their respective chapter directories in the content/TextSourceCode directory on the CD. Sun ONE Studio Community Edition -------------------------------- Select Mount Filesystems from the Files menu. A Filesystems wizard will appear with a directory tree. Select Local Directory and click the Next button. A Select Directory window will appear showing your local directory tree. Browse the tree until you find the folder containing the staugIO folder (your working directory) then select this folder and click the Finish button. Note: To compile and execute a Java source file from the text CD, first copy it to your working directory, then open the file in the source editor. Compile and execute the program. JBuilder Personal Edition ------------------------- - Select Default Project Properties from the Projects menu. - Select the Paths tab on the Project Properties window. - Select the Required Libraries tab. - Click the Add button. - Click New and the New Library Wizard window will appear. - Type the package name, staugIO, in the Name field. - Make sure the Location field indicates User Home. If not, select this option from the drop down menu. - Click the Add button. Browse the tree and select the directory that contains the staugIO folder (your working directory). - Click OK. The New Library Wizard should appear showing the path to the staugIO package in the Library Paths window. - Click OK. The Select Libraries Window should appear showing the staugIO package under the User Home directory. - Click OK. The Project Properties window should appear showing the staugIO package in the Required Libraries window. - Click OK. Note: To compile and execute a Java source file from the text CD, first copy it to your working directory and add it to a project. Make sure your working directory path appears in the project properties source path window (Project/Project Properties/Paths/Source). If not, add it. Edit the run time properties (Project/Project Properties/Run) to reflect the new file. Compile and execute the program.