1 of 5

Advanced JAVA Programming

(COURSE CODE: B19CS2201)

Introduction to Swings

Sri. M.Jeevana sujitha

Assistant Professor

Department of Computer Science and Engineering SRKR Engineering College, Bhimavaram, A.P. - 534204

2 of 5

OBJECTIVES

The Objectives of this lecture are

  • To learn about Introduction of Swings.
  • To learn about hierarchy of Swing classes.

3 of 5

Introduction to Swings

  • 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 (Abstract Windowing Toolkit) 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.

4 of 5

Hierarchy of Swing classes

5 of 5

THANK YOU