3. Java Swings
3. Java Swings
RS NANDHINI
Introduction
• Java Swing is a part of Java Foundation Classes (JFC) that is used to
create window-based applications.
• It is built on the top of AWT API and entirely written in java.
• 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.
JAVA AWT JAVA SWING
AWT doesn’t support pluggable look and feel. Swing supports pluggable look and feel.
AWT provides less components than Swing Swing provides more powerful components
such as tables, lists, scrollpanes, colorchooser,
tabbedpane etc.