Description
SWING is a graphic user interface toolkit for JAVA and was developed as an improvement over the earlier, less sophisticated Abstract Window Toolkit (AWT). It is a part of Oracle’s Java foundation classes to provide GUIs for Java programs.
Compared to AWT, SWING has a number of more powerful and flexible components and in addition to popular components like buttons, checkboxes, labels etc, SWING provides much more such as tree, lists etc. In sharp contrast to AWT, Swing component implementation is not done by platform specific code but are written in Java and are therefore platform independent. Such elements are termed ‘lightweights’.
Swing introduced a mechanism where the look and feel of a GUI can be altered without much change in the application code. After being distributed initially as a separate downloadable, Swing has been inbuilt part of Java standard edition since release 1.2. All Swing components and classes are present in javax.swing package.
(Duration:- 3h 06m)