What is the relationship between AWT, Swing and the JFCs?
The Java Foundation Classes contain five technologies: Accessibility API — Assistive technologies provide disabled people with additional assistance in using the user interface. Examples of assistive technologies include: speech recognition systems and screen magnifiers. Abstract Windowing Toolkit and Swing — The Abstract Windowing Toolkit (AWT) was launched with Java 1.0 and remains a key part of the JFC. When you write a user interface using Swing components, you still need to use the layout managers and event models supported by AWT. Java 2D Graphics API — The 2D Graphics API supports advanced 2D Graphics and imaging. Drag and Drop — On native platforms supporting drag-and-drop (e.g., Windows 98), this technology provides drag-and-drop services between Java programs and native applications. Two of the key features of Swing are: Lightweight Components — Starting with the JDK 1.1, the AWT supports lightweight classes, meaning that the AWT classes do not depend on the classes of t