Font Awesome Icons

Tutorial

AWT(Abstract Window Toolkit)

AWT (Abstract Window Toolkit) is a concept designed for building simple GUIs in Java applications.Java AWT components are platform-dependent i.e. AWT components look different on different operating systems . AWT is heavyweight i.e. its components use the resources of OS.

AWT Packages

AWT consists of 12 packages of 370 classes

 2 packages – java.awt and java.awt.event – are commonly-used.

1)The java.awt package contains the core AWT graphics classes:

a)GUI Component classes, such as Button, TextField, and Label,

b)GUI Container classes, such as Frame and Panel,

c)Layout managers, such as FlowLayout, BorderLayout and GridLayout,

d)Custom graphics classes, such as Graphics, Color and Font.

2)The java.awt.event package supports event handling:

a)Event classes, such as ActionEvent, MouseEvent, KeyEvent and WindowEvent,

b)Event Listener Interfaces, such as ActionListener, MouseListener, KeyListener and WindowListener,

c)Event Listener Adapter classes, such as MouseAdapter, KeyAdapter, and WindowAdapter.

AWT HIERARACHY

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.