Chapter 4. Developing Effective User Interfaces with JFC

Java Foundation Classes (JFC) is a package of libraries for developing robust graphical user displays for client-side applications that can be implemented on enterprise systems. The JFC API libraries comprise five different components:

  • AWT. The Abstract Windowing Toolkit (AWT) classes are comprised of legacy graphics code from Java 1.x that were developed to create simple user interfaces for applications and applets.

  • Accessibility. The Accessibility classes accommodate assistive technologies that provide access to information in user interface components.

  • Java 2D. The Java 2D classes contain a broad set of advanced graphics APIs that allow users to create and manipulate image, shape, and text components.

  • Drag and Drop. The Drag and Drop classes allow users to initiate drag operations so components can be dropped on designated target areas. This is accomplished by setting up a drop target listener to handle drop events and a management object to handle drag-and-drop operations.

  • Swing. The Swing classes are built atop of the AWT classes to provide high-quality GUI components for enterprise applications.

Large tomes have been written about JFC, specifically Swing libraries and their advanced presentation features, with numerous pages of APIs affiliated with those libraries that could easily be acquired by your Integrated Development Environment (IDE) or the Internet during your development activities. Along with those library presentations ...

Get Professional Java® JDK®, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.