What are Difference between Swing and AWT

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.



Tags:

Difference between AWT vs Swing

Swing vs AWT

Differences between AWT vs Swing