Answer Posted / ranganathkini
Heavy components are GUI components which depend on a native
peer for displaying themselves. AWT uses heavy weight
components. This means that when u try to create a heavy
component, AWT realizes a native peer or creates a native
object and requests that native object to draw the component
using native APIs.
Heavy components are bad performes as they consume a lot of
system resources and have platform specific look and feel.
Also they are not fast as updates and notifications have to
pass thru several layers of method calls and callbacks to
get executed.
An alternative is the SWING GUI library which does not
depend on native objects for display, they use the Java 2D
API for drawing and display. These objects are much more
light weight and are very fast.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is array length?
Explain, java is compatible with all servers but not all browsers?
What are abstract methods in java?
What is an immutable object?
What is the same as procedures?
Give few examples of final classes defined in Java API?
What are the object and class classes used for?
How many bits are in a sentence?
What's the purpose of using break in each case of switch statement?
What is adapter in java?
What is java developer skills?
What is enhanced loop in java?
Why do we need variables?
How strings are created in java?
What is bitwise complement?