The java.awt package is the Abstract Windowing Toolkit which allows you to deal with GUI objects in a generic manner without regard to the system on which your program in running. The big advantage is that your program will automatically run on all supported Java platforms. The current java.awt is a least-common-denominator GUI toolkit; it dispenses with the totally inessential cosmeticisms. The classes of this package may be roughly divided into three categories:
o Graphics: These classes define colors, fonts, images, polygons, and so forth.
o Components: These classes are GUI components such as buttons, menus, lists, and dialog boxes
o Layout Managers: These classes control the lay out of components within their container objects.