• Swing components mainly vary in terms of visual style and user interface, depending on the package. Double buffering is a primary feature of Java Swing.
  • JFC consists of AWT, Swing, Accessibility, Java 2D, and Drag and Drop. Swing was released in 1997 with JDK 1.2. It is a mature toolkit.
  • Advantages of Java Swing: Swing overcomes limitations of AWT, offering a wider range of components, improved flexibility, and enhanced functionality.
  • Swing has about four times the number of User Interface [UI] components as AWT and is part of the standard Java distribution.
  • The intention was to rename it from javax.swing to java.swing, but by the time it was accepted, there was already too much code written using javax.
  • This is just a basic way to use Java Swing to create a GUI, but there’s much more to learn about creating and manipulating GUIs in Java Swing.
  • Swing is a part of Java Foundation classes (JFC), the other parts of JFC are java2D and Abstract window toolkit (AWT).
  • Java Swing class Hierarchy Diagram#. All components in Java Swing are JComponent which can be added to container classes.
  • Swing components are the basic building blocks of an application. We know that Swing is a GUI widget toolkit for Java.
  • Swing is an official Java GUI tool kit published by Sun Microsystems that offers the look and feel of contemporary Java GUI.