Professional Documents
Culture Documents
BILASPUR
GUIDED BY
ASST. PROF PRASHANT
VAISHNAV SIR
Java Swing
It is a part of Foundation classes and comes under the
package javax.swing
Used mainly for building Windows Based Application and
Graphical User Interfaces.
It is built on the top of AWT (Abstract Window Toolkit) API
written in Java.
AWT is a container containing textfields , buttons etc.
A javax Swing package provides the java swing classes like :-
JButton , Jframe , Jtextfield , JRadioButton , JCheckBox
etc.
Program for Simple GUI Application using Swing.
package GUI;
import javax.swing*;