Appendix B. Obsolete Components of the Abstract Window Toolkit

Obsolete Components of the Abstract Window Toolkit

This appendix describes the components of the Abstract Window Toolkit (AWT) that have been replaced by the Swing components. The AWT components are described here because there are two circumstances when you may run into them: when you maintain old code, and when you are asked to write code that must run in the obsolete JDK 1.0 environment.

The Java AWT interface offers the functions that are common to all window systems. The AWT code then uses the underlying native (or “peer”) window system to actually render the screen images and manipulate GUI objects. The AWT thus consists of a series ...

Get Just Java™ 2, Fifth 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.