Answer Posted / vishwas saxena
1. Heavy weight components are always Rectangle in shape
while light weight may or may not.
2. Heavy weight components borrows the native screen to
paint their components while light weight render their
components by their own screen painting APIs.
3. They differ from z-indexing to each other, heavy weight
components are always displayed at the top of all
lightweight components.
4. Light weight components are faster in response and
performance.
| Is This Answer Correct ? | 29 Yes | 7 No |
Post New Answer View All Answers
Is java swing still used?
Why swings are used in java?
What are the two key features of swing?
Is swing still used?
How to perform action on button in java swing?
What are heavyweight components? What is lightweight component?
What is jlabel java swing?
What does javax swing do?
What is swing delegation event model in java?
Why are swing components called lightweight components?
What is awt and swing?
What is swing package in java?
What is swing used for?
What are differences between swing and awt?
How to move from one page to another in java swing?