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.

Common Queries:

Write down the Comparison between Swing and AWT Difference

State the difference between AWT and Swing in tabular form

What are the differences between Swing and AWT

Swing vs AWT

About Author: Jeniffer Fleming