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


what does JComponent.invalidate()or JComponent.invalidate()do?



what does JComponent.invalidate()or JComponent.invalidate()do?..

Answer / bombe swapnil

Invalidate()
This method makes components invalid , along with all of its
ancestor containers up to the
nearest validate root. Validate root can be any container
which doesn’t change the size when their child components
change size. This method need to call when components needs
to have new layout to be done.

Revalidate()
When we call invalidate() it doesn’t automatically calls
validate to make Components to be valid again. Revalidates
calls invalidate first and then make components valid by
calling validate method. Most swing components calls
revalidate() method when we change the size of the
components and call the repaint method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More GATE Interview Questions

what is inflationWhat is Inflation? How can we calucalate inflation? and what is the present rate of Inflation?

1 Answers  


what is the name of transformer

2 Answers  


Sir,i'm doing Engg. from MECHANICAL branch. now i'm in 3rd year and i want to do the preparation of GATE.sir please tell me i should refers which book and notes.and from which subject i should start my preparion.

0 Answers  


A new group of countries called BASIC is frequently mentioned in the news. which of the following is not one of them? (a) Argentina (b) Brazil (c) India (d) South Africa

2 Answers  


can i knw what are we supposed to read for the coming oces/dgfs 2009 exam?what kind of book are we supposed to study?

1 Answers   BARC,


Can anyone solve this series 22,44,88,176,?,1595

4 Answers   IBM,


centre of agriculture marketing is located ...........

2 Answers   Agricon, SSC,


WHY SHOULD HAVE NEUTRAL PATH? IS ANY POWER IS IN NEUTRAL? IF YES WER IT BE DELIVERED? IF NO WAT IS THE MEANING OF RETURN PATH

1 Answers  


22. A solution of 1% (w/v) starch at pH 6.7 is digested by 15 &#956;g of &#946;&#8208;amylase (mol wt 152,000). The rate of maltose (mol wt = 342) had a maximal initial velocity of 8.5 mg formed per min. The turnover number is

0 Answers   CSIR,


I want to know the exact syllabus for gate in electrical engineering and minimum marks to be secured

0 Answers  


void main() { int x=4,y,z: y=--x; z=x--; } what is the output

4 Answers   DELL,


if the polynomial x^4-6x^3+16x^2-25x+10 is divided by another polynomial x^2-2x+k the reminder is x+a. Find k and a.

2 Answers  


Categories