A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

What is AWT:

Java AWT:

Java AWT stands for Abstract windowing Toolkit.
It is an API to develop GUI or window-based application in Java.
Its component are platform-dependent, it means components displayed according to the view of operating system.
Its disadvantage is that AWT is heavyweight; it means their component uses the resources of system.

Java provides package for AWT, which is java.awt
This package provides classes for AWT api such as TextField, Label, TextArea, RadioButton, CheckBox, Choice, List etc.


Container:

It is a component in AWT that also contain other components like Textfield, Button and label etc.
A container is the classes that extend container class like a Frame, Dialog and Panel.


Window:

It is also a type of container that contains no borders and Menu bars.
To create a window, you need to use frame, dialog or another window.


Panel:

It is also a type of container that doesn’t contain title bar and menu bar.
It can have other components like button, TextField etc.


Frame:


It is also a type of container. It contains title bar and can have menu bars. It can have other components like button, TextField etc.

LEARN TUTORIALS

.

.