Unlike AWT, Java Swing provides platform-independent and lightweight components.
It is built on the top of AWT (Abstract Windowing Toolkit) API and entirely written in java. Java Swing tutorial is a part of Java Foundation Classes (JFC) that is used to create window-based applications.