I am having trouble importing the code from the CD into Eclipse, what is the process?
It appears that when all default options are used within the newer version of Eclipse when importing a package, that problems do occur. Here are the steps to import the code from the CD (or any other source) into Eclipse: • First create a Java project for the book code. • If you used the default Eclipse settings to create the Java project then you will have a folder called “src” (or “source”) within the project. • You must right-click on that folder (not on the project) and select import. You want to pick the import from archive option since you are importing from a zip file. If you instead right click on the project then you will run into problems unless you modify the default for the Eclipse import option to pick “Use project folder root”. • I’d recommend you import both the source code (src) and javadoc (doc). You might also want to import the JUnit tests. • Right click, and select “Build Path”, and then “Configure Build Path”.