Chapter 27. The JFC, or Swing

The Java Foundation Classes (JFC, or Swing) are a complete set of lightweight user interface components that enhance, extend, and, to a large degree, replace the AWT components such as buttons, panels, list boxes and check boxes. In addition to the buttons, lists, tables, and trees in the JFC, you will also find a pluggable look and feel that allows the components to take on the appearance of several popular windowing systems. The JFC actually uses a few common design patterns that we used for most of the examples in this book. Thus in this section, we review how to use the JFC and point out a number of patterns it encompasses. If you haven't used these powerful classes yet, this is a simple introduction. If you have, ...

Get Java™ Design Patterns: A Tutorial now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.