AWT and Swings

AWT and Swings

AWT (Abstract Window Toolkit) and Swing are two Java APIs for creating graphical user interfaces (GUIs) in Java.

AWT is the original Java GUI API and is included in the Java Development Kit (JDK). It provides a set of classes for creating windows, buttons, text fields, and other GUI components. AWT is built on top of native platform-specific GUI libraries and therefore is not entirely portable across different platforms.

Swing is an extension of AWT and is implemented entirely in Java. It provides a more modern set of GUI components than AWT and is designed to be more portable across different platforms. Swing is built on top of AWT and therefore shares many similarities with it. However, Swing also provides several new components and features, such as a more sophisticated event model, pluggable look-and-feel, and support for drag-and-drop operations. Both AWT and Swing provide a wide range of GUI components that can be used to build complex user interfaces, including windows, dialogs, buttons, labels, text fields, tables, lists, and more. They also provide layout managers, which allow developers to specify how components should be arranged within a window or panel. Additionally, both AWT and Swing provide an event model that allows developers to write code that responds to user interactions with the GUI components.

Apply for Core Java Developer Certification Now!!

https://www.vskills.in/certification/certified-core-java-developer

Back to Tutorial

Share this post
[social_warfare]
Multithreading
AWT and Swings Package

Get industry recognized certification – Contact us

keyboard_arrow_up