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

A 100mA HAS ACCURACY OF +-2%.ITS ACCURACY WHILE READING 100mA?

0 Answers   BSNL,


i wanta model of tech. questions.

0 Answers  


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

0 Answers  


dear sir, pls provide me a placement paper for hpcl exam for mechanical exam. this is a request pls do the needful as early as possibl my mail id is suneel.2003@yahoo.com

0 Answers  


I have cleared sbi clerk and have interview in 26/04/2010.But I am M.Ed & B.Ed,i want to u know my answed about not chose the teaching post

0 Answers  


5+3+2 = 151012 9+2+4 = 183662 8+6+3 = 482466 5+4+5 = 202504 7+2+5 = 1435??

4 Answers   CSEB, Wipro,


What is the comman name of cis- dichloro Dicyano platinate?

2 Answers   IISc,


Who was the first writer in english to be awarded the sahitya akademi Award in 1961?

3 Answers   JNU, LIC,


hi cn nyone pls send me some model DRDO entrance exam's papers...my e-mail s tonysandeep_au@yahoo.co.in

0 Answers  


i am aspiring for the psu exams soon to be conducted by bsnl. can anybody kindly guide me as to where i can procure the study material

0 Answers  


what reason to change compnay ?

3 Answers  


Graduate Aptitude Test in Engineering ( GATE ) Question Paper - 2002 COMPUTER SCIENCE & ENGINEERING

2 Answers   IBM,


Categories