Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

heavy components means what?

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


Please Help Members By Posting Answers For Below Questions

Which of the following classes will have more memory allocated?

1017


Is there any case when finally will not be executed?

952


Difference between predicate, supplier and consumer ?

1071


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

1070


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1193


What is console based application in java?

1046


What is return code?

1014


How java enabled high performance?

1064


Is oracle java 11 free?

970


How can you write a loop indefinitely in java programming?

1037


What is subsequence of a string?

1102


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

1080


List out five keywords related to exception handling ?

1020


Is zero a positive integer?

1074


Why is a string immutable?

1018