What are the advantages of java swing components?

Features of Java Swing components:

The implementation of 1 and Swing is a small GUI framework with no basic platform dependence, but it is dependent on AWT implementation.

2. The 2.javax.swing.JComponent class is the base class of all swing components.

3. The goal of 3.Swing model is to follow the model-view-controller architecture. This model encapsulates the underlying representation of data and state.

4. The 4.javax.swing.plaf package provides an interface and many abstract classes to define a pluggable appearance framework. The default appearance is implemented by classes in the javax.swing.plaf.basic package.