Difference between AWT and Swing compenents?

Answer Posted / narmada

Swing is a light weight component coz they dont have native resource of their own. It is based on MVC(Modal -View Controller)i.e its look and feel is independent of the hardware and OS.

AWT is a heavy weight component coz it is associated with its own resources. Since JVM helps in translating AWT calls to the appropriate OS , it is platform dependent.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by java swing?

512


Why should any swing call back implementation execute quickly?

580


What is layout in java swing?

532


What are the containers available in swing?

524


What is swing in java with example?

506






Which is better swing or awt?

532


How is multi-threading gets implemented using swing?

538


What is the use of swing in java?

515


What's java swing?

567


What is a swing day?

528


What are differences between swing and awt?

526


What is java swing package?

511


What is the use of java swing?

524


Is java swing a framework?

564


What is the use of double buffering in swings?

555