Swing works as a widget toolkit for Java and is a part of JFC and are replacement for weak and inflexible AWT controls for providing more sophisticated graphical user interface (GUI) components for Java programs. Swings are lightweight and 100% Java implementation of components. It provides new and improved components that enhance the look and functionality of GUIs that is consistent across all platforms. Swing also supports a pluggable look and feel. Classes representing components have names beginning with the letter J, for example, JLabel, JButton.
Read more at:
Recommend the tutorial