0% found this document useful (0 votes)
27 views18 pages

2.abstract Windowing Toolkit and Swing

The Java Foundation Classes (JFCs) include five key APIs that simplify Java GUI development: AWT, Swing, Java2D, Accessibility, and Drag and Drop. Both AWT and Swing provide GUI components for building Java applications and applets, but unlike some AWT components that use native code, Swing is written entirely in Java. AWT containers hold GUI components like buttons and text fields, and AWT provides important controls like buttons and text fields that allow users to interact with applications.

Uploaded by

Irish Amaro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views18 pages

2.abstract Windowing Toolkit and Swing

The Java Foundation Classes (JFCs) include five key APIs that simplify Java GUI development: AWT, Swing, Java2D, Accessibility, and Drag and Drop. Both AWT and Swing provide GUI components for building Java applications and applets, but unlike some AWT components that use native code, Swing is written entirely in Java. AWT containers hold GUI components like buttons and text fields, and AWT provides important controls like buttons and text fields that allow users to interact with applications.

Uploaded by

Irish Amaro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Abstract Windowing

Toolkit and Swing


Abstract Windowing Toolkit (AWT) vs. Swing

The Java Foundation Classes (JFCs), which is


an important part of the Java SDK, refers to
a collection of APIs that simplifies the
development Java GUI applications. It
primarily consists of five APIs including
AWT and Swing.
The three other APIs are Java2D,
Accessibility, and Drag and Drop. All
these APIs assist developers in
designing and implementing visually-
enhanced applications.
Both AWT and Swing provides GUI
components that can be used in creating Java
applications and applets. You will learn about
applets in a latter section. Unlike some AWT
components that use native code, Swing is
written entirely using the Java programming
language.
AWT GUI Components

In developing GUI applications, the GUI


components such as buttons or text fields
are placed in containers. These are the list
of important container classes provided in
the AWT.
Graphics
More AWT Components

Here is a list of AWT controls. Controls


are components such as buttons or text
fields that allow the user to interact
with a GUI application. These are all
subclasses of the Component class

You might also like