Distinguish, differentiate, compare and explain what is the main difference between Swing and AWT. Comparison and Differences.

Difference between Swing and AWT

1. Swing is a considered as light weight. AWT is considered as heavy weight.

2. Swing components are platform independent because they are developed purely in java. AWT components are platform dependent.

3. Swing components require javax.swing package. AWT components require java.awt package.

4. Swing takes less memory. AWT takes more memory.

About Author: Jeniffer Fleming