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 the paint() and repaint() methods?

Answer Posted / ranganathkini

The paint method causes the component and and all its parts
to be painted on the Graphics context tat is passed in as
parameter.

If the component is a light-weight component, then a call to
the component's repaint method which invokes the paint
method as soon as possible. If the component is not a
light-weight component, then calling repaint is the same as
calling the update method.

Is This Answer Correct ?    19 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use string handling in Java?

1035


Why singleton is not thread safe?

997


Can we pass a primitive type by reference in java? How

945


What does the three dot emoji mean?

1125


How to sort array in descending order in java?

927


How we can make copy of a java object?

1102


What are the limitations of procedural programming approach?

1057


What is casting in java programming?

1044


What is the internal implementation of set in java?

939


What is a void in java?

1175


What is the map interface in java programming?

1021


What is protected access modifier?

1009


How can we make sure main() is the last thread to finish in java program?

1204


Can we overload the constructors?

1002


What is arraylist e?

1087