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
Which is better swing or awt?
What is a component in swing?
What is swing in java with example?
What are heavyweight components? What is lightweight component?
How to perform action on button in java swing?
What is the mean of swing?
What is the design pattern that java uses for all swing components ?
Is java swing a framework?
What is the function of abstractaction class?
What is java swing application?
What is swing container?
What is swing components in java?
What is swing api?
What is the use of jfc in java swing?
What is java swing used for?