0% found this document useful (0 votes)
31 views

Abstract Windowing Toolkit (AWT)

AWT is used for GUI programming in Java and has a container hierarchy. The Container is a component that can contain other components like buttons and labels. The Window is a container with no borders or menubars and requires using a frame or dialog. The Panel and Frame are containers that can contain components but the Panel lacks a title bar and menubar while the Frame has a title bar and can include a menubar.

Uploaded by

Balu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Abstract Windowing Toolkit (AWT)

AWT is used for GUI programming in Java and has a container hierarchy. The Container is a component that can contain other components like buttons and labels. The Window is a container with no borders or menubars and requires using a frame or dialog. The Panel and Frame are containers that can contain components but the Panel lacks a title bar and menubar while the Frame has a title bar and can include a menubar.

Uploaded by

Balu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Abstract Windowing Toolkit (AWT):

Abstract Windowing Toolkit (AWT) is used for GUI programming in java.


AWT Container Hierarchy:

Container:

The Container is a component in AWT that can


contain another components like buttons, textfields,
labels etc. The classes that extends Container class
are known as container.
Window:

The window is the container that have no borders and menubars.


You must use frame, dialog or another window for creating a window.
Panel:

The Panel is the container that doesn't contain title bar and MenuBars.
It can have other components like button, textfield etc.
Frame:

The Frame is the container that contain title bar and can have MenuBars. It can have other
components like button, textfield etc.

You might also like