Source code from the textbooks "Computing Concepts with Java 2 Essentials" by Cay Hortsmann, and "Java by Dissection" by Ira Pohl and Charlie McDowell can be found in the directory:
/import/teaching/BSc/1st/ItPin the subdirectories
Horstmann
and Pohl
respectively. Both of these have further subdirectories, one for each
chapter, containing the Java files given in those chapters.
On-line documentation of Horstmann's ConsoleReader
class can be found
here.