1 of 4

Advanced JAVA Programming

(COURSE CODE: B19CS2201)

Differences between AWT & Swings

Sri. M.Jeevana Sujitha

Assistant Professor

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

2 of 4

OBJECTIVES

The Objective of this lecture is

  • To learn about Differences between AWT and Swings.

3 of 4

Differences between AWT and Swings

AWT

SWINGS

AWT components are platform- dependent.

Java swing components are platform-independent.

AWT components are heavyweight.

Swing components are lightweight.

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.

AWT doesn't follows MVC(Model View Controller) where model represents data, view represents presentation and controller acts as an interface between model and view.

Swing follows MVC.

4 of 4

THANK YOU