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...

Difference between ligt weight and heavy weight?

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


Please Help Members By Posting Answers For Below Questions

What is jpanel in java swing with example?

1054


What is content pane in swing?

1013


Is swing an adjective?

1059


How is multi-threading gets implemented using swing?

1034


Why do we use swing in java?

1030


Who created the swing?

982


Why swings are used in java?

1019


What are the different types of layout managers used in swing?

1009


What is the purpose of action interface in swing?

1104


How to generate bill in java swing?

1251


Which is better swing or awt?

1024


How to render an html page using only swing.

1051


What is swing gui?

985


What method is used to specify a container's layout?

1041


What are the advantages of swing?

1001