Sun Java Solaris Communities My SDN Account
 
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

Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.