Java Foundation Classes in a Nutshell

A Desktop Quick Reference

David Flanagan

Publisher: O'Reilly, 1999, 731 pages

ISBN: 1-56592-488-6

Keywords: Java

Last modified: May 3, 2021, 2:49 p.m.

Java Foundation Classes in a Nutshell is an indispensable quick reference for Java programmers who are writing applications that use graphics or graphical user interfaces. The author of the bestsellingJava in a Nutshell has written fast-paced introductions to the Java APIs that comprise the Java Foundation Classes (JFC), so you can start using these exciting new technologies right away.This book contains the following:

  • An overview of the architecture of graphical user interfaces built with both the new Swing API and the older AWT
  • An introduction to the important components and application services provided by the Swing API
  • An comprehensive explanation of the features of the new Java 2D API

This book also includes O'Reilly's classic-style, quick-reference material for all of the classes in the javax.swing and java.awt packages and their numerous subpackages. This reference material covers all of the new JFC classes in the Java 2 platform, as well as the existing Java 1.1 AWT classes. Once you've learned about the JFC, you'll keep this book next to your keyboard for handy reference while you program.

Java Foundation Classes in a Nutshell is part of the two-volume set of quick references that every Java programmer needs. It is an essential companion to Java in a Nutshell, 3rd Edition, which covers the key nongraphical APIs in Java 1.2. A third volume, Java Enterprise in a Nutshell, focuses on the Java Enterprise APIs and is of interest to programmers working on server-side or enterprise Java applications.

  • Part 1: Introducing the Java Foundation Classes
    1. The Java Foundation Classes
    2. Swing and AWT Architecture
      • A Simple Graphical User Interface
      • Components
      • Properties
      • Containers and Containment
      • Layout Management
      • Event Handling
      • Swing Component Architecture
    3. Swing Programming Topics
      • Versions of Swing
      • Labels and HTML
      • Actions
      • Tooltips
      • Timers
      • The Event Dispatch Thread
      • Client Properties
      • Keyboard Shortcuts
      • Serialization
      • Borders
      • Icons
      • Cursors
      • Double-Buffering
      • The Box Container
      • Simple Dialogs
      • JFileChooser
      • JColorChooser
      • Menus
      • JTree and TreeModel
      • JTable and TableModel
      • JTextComponent and HTML Text Display
      • Pluggable Look-and-Feel
      • Accessibiliy
      • Custom Components
    4. Graphics with AQT and Java 2D
      • Graphics Before Java 2D
      • Java 2D Graphics Attributes and Operations
      • The Coordinate System
      • Shapes
      • Stroking Lines
      • Paint
      • Blending Colors with AlphaComposite
      • Rendering Hints
      • Fonts and Text
      • Buffered Images
      • Transformations with AffineTransform
      • Color Spaces
    5. Printing
      • Printing in Java 1.1
      • Printing in Java 1.2
    6. Data Transfer
      • The Data Transfer Framework
      • Cut-and-Paste
      • Drag-and-Drop
      • A Data Source
      • A Data Sink
    7. Applets
      • Writing Applets
      • Including Applets in HTML Files
      • Applet Security
  • Part 2: API Quick Reference
    • How To Use This Quick Reference
    1. The java.applet Package
    2. The java.awt Package
    3. The java.awt.color Package
    4. The java.awt.datatransfer Package
    5. The java.awt.dnd Package
    6. The java.awt.dnd.peer Package
    7. The java.awt.event Package
    8. The java.awt.font Package
    9. The java.awt.geom Package
    10. The java.awt.im Package
    11. The java.awt.image Package
    12. The java.awt.image.renderable Package
    13. The java.awt.peer Package
    14. The java.awt.print Package
    15. The javax.accessibility Package
    16. The javax.swing Package
    17. The javax.swing.border Package
    18. The javax.swing.colorchooser Package
    19. The javax.swing.event Package
    20. The javax.swing.filechooser Package
    21. The javax.swing.plaf Package
    22. The javax.swing.table Package
    23. The javax.swing.text Package
    24. The javax.swing.text.html Package
    25. The javax.swing.text.html.parser Package
    26. The javax.swing.text.rtf Package
    27. The javax.swing.tree Package
    28. The javax.swing.undo Package
    29. Class Index

Reviews

Java Foundation Classes in a Nutshell

Reviewed by Roland Buresund

Decent ****** (6 out of 10)

Last modified: Nov. 15, 2008, 10:56 a.m.

This is in reality more of a reference manual, than something to read.

And like all reference manuals, it gets outdated, but if you're a hard-core Java programmer, I believe this could be of interest.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required