Thursday, December 2, 2010

Swing: A fast-paced guide with production-quality code examples

Presents an introduction to the Swing components and how to use them. Consists of production quality code in which Swing features are customized, combined, and Exercised. Reveals solutions and work arounds for bugs, and unsolved Swing problems, to save time. Softcover. DLC: Java (Computer program language). Written for the experienced Java developer, Swing provides an in-depth guide to getting the most out of Sun's Swing/JFC user interface classes. Mixing real-world code examples and expert advice on advanced features, this book shows how to make use of this powerful library effectively within your own projects.The best thing about this text has to be its sample programs, many of which incorporate other Java APIs to do "real" work. For example, a demo of the scroll pane Swing component uses other JFC classes to display JPG images. For working with lists, the authors show how to process .ZIP files in Java. For demonstrating table programming, there's coverage of JDBC to connect to databases. Other standout code samples include a working FTP client and a fully functional .RTF word processor. (Many of these examples are enhanced in separate steps, showing off new Swing classes and features along the way.) The authors do a particularly good job of annotating code with clear explanations referenced with numbered bullets that point out impotant lines of code.The other noteworthy feature here is the material on extending basic Swing functionality through custom code. (To use Swing effectively, you definitely need to be able to customize its classes. The authors show you how.) There are examples for enhancing Swing with custom layout managers and numerous samples that extend trees and tables, and even a section on the basics of creating new pluggable look and feel (PLAF) modules for Swing.With material here on virtually every component and API, plus advanced coverage on using and extending Swing, this in-depth tutorial will prove to be an indispensable resource. It's ideal for any Java developer who wants to create powerful Swing interfaces for real-world projects. --Richard Dragan