Creating Frames using Java Swings

As far as the Java ecosystem, swing concern acts as a toolkit for the GUI widget and it is responsible for providing the APIs, for creating the user interface for Java programs.

Before the advent of Swing, AWT i.e. An Abstract Window is a toolkit that was responsible for providing an advanced form of user interface components. But Java Swing supersedes the AWT library and comes up with a look and feel which resembles most of the platform.

These created UI components are not only advance in terms of appearance and feel, but they are also pluggable in nature. That means the underlying platform is not bounded with a specific set of UI components. UI components like buttons, labels, and checkboxes can be easily created with Swing APIs.

Swing not only providing a designer with a regular user interface component but advanced components as well as the tabbed panel, scroll panes, tables, trees, etc. There are some added advantages a swing has over AWT, which makes Swing overtake AWT, in developing UI components.

The user interface or UI components in the swing are developed entirely in Java and thus they are platform-independent, which is unlike AWT components.

The framework adopted by Swing is MVC i.e. Model-view-controller, which provides an abstraction between the graphical UI and the underlying code structure and also this abstraction will help the UI component writer in maintaining “separation of concern” like architecture.

Published by Aquad Software Solution Pvt Ltd

Aquad Software Solution Pvt Ltd is the IT Software Company In Noida , India. We provide the Website Design and development and also providing the digital Marketing Services .

Leave a comment

Design a site like this with WordPress.com
Get started