Interfaces, GUIs, and Applets
CS 161 - Java
Abstract Windowing Toolkit (AWT)
A least common denominator set of GUI components supported by the native windowing environments of the platforms Java was originally built to support: Windows, Unix X Window System, Macintosh
Basic Controls
Button
Checkbox, Choice, List - for handling selectable items
Label
MenuItem - for presenting menubars
TextField
Other User Input Controls
Scrollbar
TextArea
Custom
Canvas - for arbitrary drawing
Containers
Panel, ScrollPane, Dialog
LayoutManagers
AWT being supplanted by
Swing
in JDK 1.1 and Java 2
Swing provides a superset of GUI capabilities.
Better, faster, more portable
Built on top of AWT
jwd