Difference between AWT and Swing
AWT |
Swing |
1. AWT components are platform dependent. 2. The look and feel of AWT component vary from one operating system (OS) to another. 3. AWT components do not support the facility of pluggable look and feel. 4. AWT components are heavy weight. 5. AWT components are based on peer architecture. 6. AWT frame doesn’t support any default close operation (hiding of frame) on the close button or its title bar.
|
1. Swing components are platform independent.
2. The look and feel of swing components remain same across the platform.
3.
Swing components support pluggable look and feel.
4.
Swing components are light weight.
5.
Swing components are based on MVC architecture.
6.
Swing frame support a default close operation (hiding
of frame) on the close button or its title bar. |
No comments:
Post a Comment
If you have any doubts, please let me know