Unlike AWT, Java Swing provides platform-independent and lightweight components. The javax. swing package provides classes for java swing API such as JButton , JTextField, JTextArea, JRadioButton, JCheckbox, JMenu, JColorChooser etc.
Read moreWhat are the Swing class?
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 moreWhat are components of Swing?
Below are the different components of swing in java:
Read more