Through Applications emphasizes Java
's graphical capabilities and the ability to create graphical user interfaces. The book uses 15 complete Java
programs in order of increasing complexity, including geometric patterns
, games, puzzles, number theory problems, and cryptography, to teach students the Java
programming language and concepts. New features of Java
5.0 are covered in detail, including enumerated types, "for-each" statements, generics, autoboxing, and static imports. Each chapter contains a capstone program that involves graphics and illustrates the language features introduced in that chapter. The specifications for the program are discussed first, followed by the code and its explanatory text emphasizing the programming techniques used. Because complete programs are included, programmers have the opportunity
to explore the design choices involved. Additionally, UML diagrams are included when appropriate to help them understand the overall design of each example.