The JFC Swing Tutorial: A Guide to Constructing GUIs (Java Series)

The JFC Swing Tutorial: A Guide to Constructing GUIs (Java Series)

by Mary Campione (Author), KathyWalrath (Author), Alison Huml (Author), SharonZakhour (Author)


The JFC Swing Tutorial is back, fully revised and updated to include the latest revisions to the JFC Swing API and the Java (TM) 2 platform. In this book, authors and Java experts Kathy Walrath, Mary Campione, Alison Huml, and Sharon Zakhour-working closely with the Sun Microsystems Swing team-explore the ins and outs of creating GUIs with Swing components.

This task-oriented, example-driven tutorial allows you to create user interfaces that work without change on multiple platforms, appearing and performing as well as or better than native interfaces. Leveraging the full power of the latest edition of the Java 2 platform, the authors bring the art of GUI creation to life with content new to this edition. This includes an easy-to-use tabbed reference section, new introductory chapters, and coverage of newer features such as JSpinner, JFormattedTextField, JProgressBar, mouse wheel support, the rearchitected focus subsystem, and improved support for drag and drop.

Coverage includes:

  • Introductory material for developers getting started with Swing, including sections on basic components such as text fields, labels, and buttons, as well as on using images
  • The latest advice from the Swing team about thread safety
  • Advanced Swing material, including changing key bindings, manipulating the focus, using data models, and adding painting code that uses the powerful Java 2D (TM) API
  • How-to discussions on using individual components and containers, including advanced components such as tables, trees, and text editors
  • Over 150 complete, working code examples

For the novice or experienced Java developer looking to create robust, powerful, and visually stunning GUIs, The JFC Swing Tutorial, Second Edition, is an indispensable tutorial and reference.



20+ in stock

More Information

Format: Paperback
Pages: 784
Edition: 2
Publisher: Prentice Hall
Published: 24 Feb 2004

ISBN 10: 0201914670
ISBN 13: 9780201914672
Book Overview:

With the arrival of Sun's Swing/JFC classes, Java developers can create user interfaces that look great and perform just as well as native interfaces. The JFC Swing Tutorial: A Guide to Constructing GUIs provides a hard copy of Sun's popular online tutorial for Swing/JFC development. Its numerous code examples and clear presentation style make this title a fine choice for mastering the ins and outs of today's Swing. Owing to its Web heritage, digestibility is perhaps this book's most notable feature. Short sections on virtually every topic in Swing programming help bring the reader up to speed with this UI library. Early sections look at getting started and the organization of classes in both applets and applications, as well as useful high-level classes like frames and scroll panes. When it comes to such basic Swing components as text, label, and image controls, Swing beginners will appreciate the concise description of each component along with necessary APIs. More advanced material, such as optimizing repainting of Swing controls and techniques for more efficient tables, will be useful to any Swing developer.

Author Bio

Kathy Walrath is a senior technical writer on the Swing team at Sun Microsystems. After graduating from the University of California, Berkeley, with a B.S. in Electrical Engineering and Computer Science, Kathy wrote extensively about Unix, Mach, and NextStep. Since 1993, Kathy has been writing specifications and how-to guides for the Java platform. Mary Campione was formerly a senior technical writer at Sun Microsystems, where she started writing about the Java platform in 1995. Mary graduated from California Polytechnic, San Luis Obispo, with a B.S. in Computer Science and has worked as both a technical writer and programmer.

Alison Huml is a technical writer at Sun Microsystems, where she joined The Java Tutorial team in 1997 and also works with the Security team. Alison received her B.A. in English from the University of California, Berkeley, and is currently pursuing her master's degree in Computer Science at Mills College.

Sharon Zakhour, the Java Tutorial team lead, has worked at Sun as a senior technical writer for seven years. She graduated from UC Berkeley with a B.A. in Computer Science and has worked as a programmer, developer support engineer, and technical writer for more than 20 years.