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.