Java Foundation Classes in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
The JFC/Swing classes offer a powerful way to build user interfaces in Java, and this richness comes with a lot more complexity.Java Foundation Classes in a Nutshellprovides the documentation needed for understanding the most important features of Swing and serves as a handy reference to every package, class, and method.The book is especially good at introducing the essential elements of Swing compared to the older AWT standard. Early chapters compare the fundamentals of AWT and Swing, including the architecture of each, plus the new possibilities for user interfaces offered by today's Swing. Standout sections on Java2D graphics (which is a lot more complicated than AWT graphics), printing, and Swing's advanced UI capabilities round out the tour here. Short examples and clear explanations, somewhat dryly written, provide a starting point for learning Swing.The heart of this book is its 500 pages of reference material for every Java Swing (and AWT) package, class, and method. Some readers may quibble with the ordering here. (For instance, the model classes for advanced UI components like JTables are separated from the components themselves). But this reference has a good sense of visual clarity (with alternate lines of text highlighted with gray so that you can find what you need quickly). There are also some nice graphics, showing the relationship of Swing classes to one another.In all,Java Foundation Classes in a Nutshellprovides a very worthwhile reference to today's Swing classes. This text is as good as any available in getting to essential information on the powers of Swing for practical Java development.--Richard DraganTopics covered: JFC/Swing 1.1 and AWT basics, components, layout managers, events, Swing advanced user interface features, serialization, AWT and Java2D graphics, shapes, buffered images, affine transforms, printing, data transfer (cut-and-paste and drag-and-drop, applet basics, JDK 1.1 and Java 2 API package and class reference), UI classes, pluggable-look-and-feel, image APIs, tables and trees, text, and HTML viewer classes.