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

where v get the models for the gate exam?& for apptitude test ?

0 Answers   HDFC,


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  


hello can anyone send me the syllabus for isro entrance examination for the post of ISRO - scientist (SC) computer science and engineering.if u know pls inform me to this id muthumari.bharathi@gmail.com

1 Answers   ISRO,


in which state of india has no panchayatraj

0 Answers  


REPO Structure and terminology

0 Answers  


sir , please send me previous gate ece questionpapers with explanations.i want 15 years of gate ece question papers

0 Answers  


hi all,my name is RANJAN...may i know how gate 2010 paper is going to be and culd u suggest me some imp tiptricks to prepare and also plz give me information about assistant engineer exam and how to prepare for it. waiting for reply in kind......... thnq..

0 Answers  


what is density of flyash?

1 Answers   Bhel,


What is the number which when divided by 12,15 and 24 gives remainder 5?

0 Answers  


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

0 Answers  


sir I need "INDIAN Engg. Services" Question Paper

0 Answers  


c program to compare the initial portions of the two strings and return the matched portion if matches, otherwise return the empty string.

0 Answers  


Categories