Basic HTML version of Foils prepared June 5 99

Foil 54 Abstract Windowing Toolkit (AWT)

From Java Language in the Computer Science Curriculum ADMI Tutorial Duluth Minnesota -- June 3 99. by Geoffrey C. Fox


This package contains all the classes to create graphical user interfaces.
It allows some primitive drawing (in a subpackage called graphics).
It has a number of components corresponding to parts of a windowing interface
  • basic components like buttons, textfields, lists, scrollbars, etc.
  • components such as panel and frame which allow you to place a number of other components within them. This is hierarchical.
There are layout managers to help arrange the components.
There are events and a model to handle events that come from user interactions such as clicking a button or typing in text.
  • import awt.*;
  • and import awt.event.*;



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Jun 5 1999