0

What is the difference between AWT and swing in java?

7th May 2018, 5:31 PM
Pamidimukkala Vijaya
Pamidimukkala Vijaya - avatar
2 odpowiedzi
+ 5
AWT and Swing are both part of a group of Java class libraries called the Java Foundation Classes (JFC). The Abstract Windowing Toolkit (AWT) is the original GUI toolkit shipped with the Java Development Kit (JDK). ... Swing is the latest GUI toolkit, and provides a richer set of interface components than the AWT.
7th May 2018, 6:34 PM
Scooby
Scooby - avatar
+ 1
awt is heavy weight where as swing is light weight and the look and feel of swing is much better than awt..well everybody uses swing over awt which was primarily used for applets
7th May 2018, 5:37 PM
Suhail Pappu
Suhail Pappu - avatar