ABSTRACT WINDOWS TOOLKIT
GRAPHICAL USER INTERFACE
USING
ABSTRACT WINDOWS TOOLKIT
The graphical user
interface is implemented in the java using the AWT, which stands for the
Abstract Windows Toolkit. It contains all the classes for defining the
components of the GUI like command
buttons , list boxes ,drop down list boxes, etc.
Java Graphics APIs - AWT
and Swing - provide a huge set of reusable GUI components, such as button, text
field, label, choice, panel and frame for building GUI applications. You can
simply reuse these classes rather than re-invent the wheels. I shall start with
the AWT classes before moving into Swing to give you a complete picture. I have
to stress that many AWT component classes are now obsolete. They are used only
in exceptional circumstances when the JRE supports only JDK 1.1.
Java provides the package
for AWT.
java.awt.*;
Comments
Post a Comment