Java GUI
The java.awt package has many classes for you to use to
create your own Applet or Application Graphical User Interfaces. These
include:
- Buttons
- Menus
- Check Boxes
- Text Fields
- Scrolling Lists
We will concentrate mostly on GUIs for Applets but, you can also create
GUI windows for applications or additional GUI windows for Applets.
Main GUI Features
Applet GUI |
Generic AWT components that can contain OTHER components.
- e.g Panel (Applets are Panels) - a container that is displyaed
on-screen
|
Canvas |
a drawing surface |
UI Components |
Examples include Buttons, Menus, etc. |
Window Construction Components |
Used normally by APPLICATIONS.
- windows
- frames
- menubars
- dialog boxes
|
Layout Managers |
Determines how components are arranged when they are displayed
on-screen |
|