Swing in java is part of Java foundation class which is lightweight and platform independent. It is used for creating window based applications . It includes components like button, scroll bar, text field etc. Putting together all these components makes a graphical user interface.
Read more