heavy components means what?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / devarathnam c,kotagudibanda(po
Hi...
Heavy components means , the components that are fully
dependent on underlaying OS.
Example:Applet
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / arjun sanapathi
lightweight component have transparent pixels which
heavyweight have opaque and also light weight is not dependent
on other objects.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
Explain super keyword in java.
Explain the importance of finally over return statement?
What is dynamic dispatch in java?
Why are generics used?
What is a platform?
What is casting in java programming?
Write a program to find the greatest of three numbers in java?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
Why is the type for real numbers called double?
What is a class object?
what is bmg file and how to create that files?what will it contailn?
0 Answers HCL, Probe Services,