1.

Enlist the differences between AWT and Swing in Java.

Answer»
AWTSwing
JAVA AWT is a Java API for creating graphical user interfaces.Swing is a part of Java Foundation Classes that are used to build a variety of apps.
The components that BELONG to Java AWT are heavily weighted.The components that belong to Java Swing are light weighted.
The EXECUTION time of AWT is more than that of Swing. AWT components are comparatively less powerful.The execution time of Swing is less than that of AWT. Swing components are comparatively more powerful.
The components that belong to Java AWT are platform-dependent.The components that belong to Java Swing are independent of any platform.
AWT does not support the MVC pattern.Swing SUPPORTS the MVC pattern.


Discussion

No Comment Found