Tuesday, 15 November 2016

AWT CLASSES



      The AWT classes are contained in the java.awt package. It is one of the Java’s largest packages. Some of the common AWT classes are as follows:
Class
Description
AWTEvent
Encapsulates AWT events.
AWTEventMulticaster
Dispatches events to multiple listeners.
BorderLayout
The border layout manager. Border layouts use five components: North, South, East, West, and Center.
Button
Creates a push button control.
Canvas
A blank semantics-free window.
CardLayout
The card layout manager. Card layout emulates index cards. Only the one at the top is showing.
Checkbox
Creates a checkbox control.
CheckboxGroup
Creates a group of checkbox control.
CheckboxMenuItem
Creates an on-off menu item.
Choice
Creates a popup list.
Color
Manages color in a portable, platform independent manner.
Component
An abstract superclass for various AWT components.
Container
A subclass of Component that can hold other components.
Cursor
Encapsulates a bitmapped cursor.
Dialog
Creates a dialog window.
Dimension
Specifies the dimensions of an object. The width is stored in width and the height is stored in height.
Event
Encapsulates events.
EventQueue
Queues events.
FileDialog
Creates a window from which a file can be selected.
FlowLayout
The flow layout manager. Flow layout positions components left to right, top to bottom.
Font
Encapsulates a type font.
FontMetrics
Encapsulates various information related to a font. This information helps you display text in a window.
Frame
Creates a standard window that has a title bar, resize corners, and a menu bar.
Graphics
Encapsulates
GraphicsDevice

GraphicsEnvironment

GridBagConstraints

GridBagLayout

GridLayout

Image

Insets

Label

List

MediaTracker

Menu

MenuBar

MenuComponent

MenuItem


No comments:
Write comments