It is a part of the JFC( Java Foundation Classes). It is build on top of the AWT API and entirely written in java. It is platform independent unlike AWT and has lightweight components. It becomes easier to build applications since we already have GUI components like button, checkbox etc.
Read moreIs Java Swing still used in 2020?
Absolutely yes . Legacy swing applications are still supported and enhanced. There is no alternative for that.
Read more