Professional Documents
Culture Documents
The Abstract Window Toolkit
The Abstract Window Toolkit
The Abstract Window Toolkit
windows, graphics and text. It contains many classes and methods that allow you to create
windows and simple controls. In a window we can manage fonts, output text, and utilize
graphics.
Layouts: They define how UI elements should be organized on the screen and provide
a final look and feel to the GUI (Graphical User Interface).
A Component is an abstract super class for GUI controls and it represents an object
with graphical representation.
A Container is a subclass of Component that can contain other components. Which
contains Panel, Window, Frame, Dialog
Window and panel are use to design the GUI components.
AWT Label
Label is used to display a single line of read only text. The text can be changed by a
programmer but a user cannot edit it directly.
Label Class Declaration
public class Label extends Component implements Accessible