Sun Java Solaris Communities My SDN Account Join SDN
 
Books & Authors

The JFC Swing Tutorial

 
From the authors of the best-selling The Java(tm) Tutorial, here is a guide to using the new Swing components, which are provided by the Java Foundation Classes (JFC). Developed and co-written by the lead writer on the Swing team, this book covers everything you need to know to write GUIs that use Swing components. The JFC Swing Tutorial uses a task-oriented, example-driven approach to introduce you to fundamental concepts and applications.

Designed to be read either cover-to-cover or as a quick reference, this book explains how to use each Swing component, perform layout, do basic drawing, and convert 1.1 AWT programs to Swing. This book covers Swing 1.1.1, which is available both as an extension to JDK(tm) 1.1 and as a core part of the Java(R) 2 Platform.

Chapters include:

  • A quick start chapter, including a tour of a Swing application's code
  • Swing features and concepts
  • How-to information for all the Swing components: labels, tool tips, buttons, menus, tables, scroll panes, text components, and more
  • Instructions on how to write event handlers
  • How to use layout managers
  • Tips on solving common problems
  • Guidance on working with graphics
  • How to convert from AWT components to Swing components
An appendix lists the complete source code for dozens of example applications and applets. The accompanying CD-ROM includes Swing 1.1.1, JDK 1.1, the Java 2 Platform, and the hypertext version of all three Java Tutorial books.

View the online version of this book
Information about all three volumes of The Java Tutorial
Order this book through
DigitalGuru
Amazon.com
The Java Series Store