Sponsered Links
Categories
Sponsered Links

Introduction of AWT

 

AWT stands for abstract window Toolkit. It is a class library  that provide   user interface Toolkit  of java programming language. AWT component are called heavyweight components because significant use of system resources. You can create and display text, button, label,  menus,  combo box, checkbox and other user interface controls you'd expect in windowed programs using AWT. The AWT classes are contained in the java.awt package.

some classes of AWT  given below

Class Description
Frame Create a standard window that has a title bar , resize corner and menu bar.
Label create a label that display a string.
Button create a push control button.
TextField  create a single line edit control.
TextArea create a multi line edit control.
List     creates a List  from which  the user can choose that is similar to the standard windows list box.
Choice create a pop-up list.
Menu   create a pull down menu.
MenuItem create a menu Item.
MenuBar create a menu bar .
Chechbox create a checkbox control.
CheckboxGroup create  a  group of checkbox controls .
Event encapsulates events.
FlowLayout Flow Layout manager, flowLayout positions components left to right , top to bottom.
GridLayout grid Layout manager , grid layout displays component in a  two- dimentional grid Layout
CardLayout       cardLayout  manager  ,  cardLayout emulate index cards. only one of the top is showing.
GridBagLayout The GridBagLayout  manager, GridBagLayout displays components subject to the constraints specified by GridBagConstraints
BorderLayout The BordreLayout  manager ,. BorderLayout use five components : North, South, East,West and Center.
Image Encapsulates graphical images
Polygon Encapsulates  a polygpon.
Panel The simplest concrete subclass of container.
PopupMenu Encapsulates a pop_UP menu
AWTEvent Encapsulates AWT events.
Front          Encapsulate a type Front.

 
 
Sponsered Links
Latest Updates
 
All Content of this site is for learning only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright © 2009 JSPSERVLETTUTORIAL.INFO All Right Reserved