ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Abstract Window Toolkit (AWT)

Definition - What does Abstract Window Toolkit (AWT) mean?

Abstract Window Toolkit (AWT) is a collection of graphical user interface (GUI) components (widgets) and other related services required for GUI programming in Java. It is Java’s original platform-independent windowing, graphics and user-interface widget tool kit. AWT is now part of Java Foundation Classes (JFC) and serves as the standard application programming interface (API) for GUI programming in Java.

From J2SE1.2 forward, the AWT widgets were largely superseded by the Swing toolkit. Swing functionality relies on AWT for core interfacing to the native windowing system. However, the programmer now has the choice between the look and feel of the native system and the cross-platform look and feel of Java. Swing is preferred by most Java programmers who still adhere to the write once, run anywhere (WORA) principle at the core of Java’s philosophy.

Techopedia explains Abstract Window Toolkit (AWT)

In 1995, when Sun Microsystems introduced Java as a platform-independent programming language, AWT was intended to provide a thin layer of abstraction over the underlying native user interface. In essence, the same Java program, when run on a Windows PC, would have the look and feel of a native Windows application and the look and feel of a native Mac application when run on a Mac.

AWT includes a set of widgets, which provide the subset of functionality common to all native platforms. AWT also features a robust event-handling model, graphics and imaging tools (including shape, color and font classes), layout managers for flexible window layouts, and data transfer classes for cut-and-paste through the native platform clipboard.


Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.