Answer Posted / mukesh jha
A heavyweight component relies on native code for its visual
representation so it is drawn by the underlying operating
system. Heavyweight components are those defined in the
java.awt package
A lightweight component does not rely on native code - it is
implemented entirely in Java. This means that a lightweight
componet is entirely portable.
One consequence of the difference between heavyweight and
lightweight components is that mixing them in the same
application can cause trouble because they are drawn in
different ways. You should avoid mixing them.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between awt and swt.
What is swing framework in java?
What is the use of swing in java?
How to generate bill in java swing?
What is the mean of swing?
What are swings awt?
What is swing control?
Is swing still used?
What is swing components in java?
What are heavyweight components? What is lightweight component?
What does javax swing do?
Why should the implementation of any swing callback (like a listener) execute quickly?
What are the advantages of the event-delegation model over the event-inheritance model?
Why swing is used in java?
What is swing container?