Aqua Phoenix
     >>  Lectures >>  Java 4  
 

Navigator
   
 
       
   

4.3 AWT Components

The Abstract Windowing Toolkit (AWT) contains a number of pre-defined and common GUI components that can easily be included in applets or applications. They are summarized in the following interactive applet:

Source:

  BasicComponentApplet.java  
The source code to this applet has been overly complicated with the use of the most complex Layout Manager. When viewing the source code, pay attention to the commented lines referring to AWT components.

The following Java applet allows you to experiment with the functionality of some AWT components. Included in the applet are methods that are shared amongst all components, and some that are specific to individual components. The Usage field shows the method prototype and details on passed arguments.