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
How are destructors defined in java?
What is time complexity java?
Who is the owner of java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is vector capacity in java?
What is the difference between Java and C++?
What is struts in java?
What is remote method invocation (rmi)?
Explain the JDB in depth & command line.
Why does java have two ways to create child threads? Which way is better?
How to create a fecelet view?
What are bind parameters?
What exactly is a .class file?
What is a finally block?
What is parsing in java?