Java AWT Toolkit

Toolkit class is the abstract superclass of every implementation in the Abstract Window Toolkit. Subclasses of Toolkit are used to bind various components. It inherits Object class.

AWT Toolkit class declaration

Java AWT Toolkit Example

Output:

Screen resolution = 96
Screen width = 1366
Screen height = 768

Java AWT Toolkit Example: beep()

Output:

java awt toolkit example 1

Java AWT Toolkit Example: Change TitleBar Icon

Output:

java awt toolkit example 2



Contact US

Email:[email protected]

AWT Toolkit
10/30