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
What is swing in java javatpoint?
What is difference between applet and swing?
What method is used to specify a container's layout?
Is java swing still used?
Is swing thread-safe?
How to print in java swing application?
What are the benefits if Swing over AWT?
What is jlabel java swing?
How to perform action on button in java swing?
What is the difference between swing and awt in java?
Why should the implementation of any swing callback (like a listener) execute quickly?
What is java awt and swing?
Why swing is better than awt?
What is the purpose of serialization in swings?
Why swings are called lightweight components?