|
Swing Second Edition Foreword by James Gosling, "Father" of Java Matthew Robinson and Pavel Vorobiev 2003 | 912 pages ISBN: 193011088X |
|||
![]() |
$25.00 | PDF ebook | |
![]() |
$49.95 | Softbound print book | |
The Story of Swing
|
The Story of "Swing" (Notice the Quotes)
"Swing" has qualities that appeal to me--it's a Manning book I'm proud of. Apparently, it also appeals to many readers: it has sold well over the years in spite of lots of available competitors. The first edition's entire content is available online, and has been since before it was first published in January 2000. The online content is mirrored in a couple of locations in Europe. It routinely comes up on the first page of Google when you search for "swing." We receive requests for permission to reuse the code from the book in commercial apps all the time. The second edition sales have started off nicely too, and the endorsement in its Foreword by James Gosling must not be hurting. BTW, we got into this free-manuscript situation by accident: as we started working on this book the "Cathedral and the Bazaar" appeared and we fell under its spell. We decided that writing a book was not all that different from writing software and opened up the manuscript to the Swing community. But books are different from software and the experiment basically failed. I'll describe that experience one day. (Oh, and here's an example of why it's a Good Thing to write for publication: looking for the original CaB URL I found "A Second Look at the Cathedral and the Bazaar." I can't wait to read it.) Anyway, what I really enjoy about "Swing" is that we keep hearing from people how much they appreciate it. They tell us how unique they think it is. The examples are industrial strength, not toy examples, and this is rare in computer books. The editor who worked on the book during its long incubation, Ben Kovitz, came up with a way to counter the visual boredom of long code listings: he took all comments out of the code, which made it shorter, and added graphically attractive annotations next to it. The annotations guided the eye to the important code segments. Our market tests indicated readers would like them, and they did. We have continued using Ben's annotations in many later books. "Swing" was originally a followup to another book, our "Up To Speed with Swing." "Up To Speed" was the first book to be published in what was a hot Swing market. It was a basic tutorial and we felt people wanted more depth. The best way--and really the only practical way--to give them depth was to show them lots of examples of how to do things. So, we signed Matt and Pavel to write "Swing by Example." As they wrote, we kept getting asked by manuscript reviewers to include basic information about the library. The manuscript didn't include this information so they had to look for it somewhere else. They wanted it all in one place. Although the book was in danger of getting obese, I agreed to expand its focus and we ultimately changed the title simply to "Swing." A faint trace of that history remains in the "sbe" of the book's URL: www.manning.com/sbe. In the past Swing had problems with speed. It was, and is, a powerful library that requires a large effort to master. The speed problem has gone away due to continuous improvements in the library and increased processor speeds. Its complexity remains, though, and a book like "Swing Second Edition" is a good way to master it. Well, let me restate that: this Second Edition is the best way to master Swing. And that is a biased opinion. Marjan Bace, Publisher |
DESCRIPTION
This book builds on the successful approach of the first edition of Swing, once again taking the power and flexibility of Java's Swing library to its limits. Using a fast-paced style, it starts by introducing each of the Swing components and continues with production-quality code examples in which Swing features are customized, combined, and vigorously exercised to demonstrate real-world usage.
With over 400 pages of revised text, additional examples, and new material to bring the book up to date with J2SE 1.4, Swing Second Edition includes complete coverage of the new JSpinner and JFormattedTextField components, the new Focus and Keyboard architectures, and many other new and enhanced Swing features. Three new chapters have also been added to cover the construction of HTML and XML editor applications, and how to work with the new Drag & Drop architecture.
What's Inside:
- In-depth table, tree, text, MDI and L&F coverage
- All about painting, multithreading, keyboard focus and input
- Guidelines and techniques for good UI design
- Using the new
JSpinnerandJFormattedTextFieldcomponents - Scrollable tabbed panes and indeterminate progress bars
- How to implement, among other things:
- FTP and JPEG editor applications
- A full featured MDI plain text editor application
-
JTablestock quote and expense report applications - A JavaBeans property editor application
- A full featured HTML editor application
- A
JTree-based file system explorer application - Sorting and printing tables
- A custom multi-page print preview component
- An XML editor application
- Drag & Drop
ABOUT THE AUTHORS...
Matt Robinson cofounder of Santa Clara-based Recruitforce.com, has four years’ experience as a Swing engineer working on enterprise software. He has written numerous contributions to Java books, magazines and academic publications.
Pavel Vorobiev, also a Recruitforce cofounder, has 16 years of software development experience at both small and large companies such as Iona, i2 Technologies and Merrill Lynch. He is the co-author of four earlier Java books.

