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

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

4 Answers   DELL,


what is density of flyash?

1 Answers   Bhel,


hi i need to no when is tancet notification is going to apper and where .please send the information to my id satish_don334@yahoo.co.in

5 Answers  


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

2 Answers   IISc,


how can i get the group2 previous papers&gate study material? please suggest the way of preparation for group2?

1 Answers  


lovers love it , friends need it relationship starts with it, life ends with it it is?

3 Answers   Invensys,


can u please send me IIIT M.Tech entrance question paper?

1 Answers   IIIT,


Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com

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,


Book for preparation of HPCL (CS/IT) .

0 Answers   BSCS, HPCL,


For the FIFA world cup, Paul the octopus has been predicting the winner of each match with amazing success. It is rumored that in a match between 2 teams A and B, Paul picks A with the same probability as A’s chances of winning. Let’s assume such rumors to be true and that in a match between Ghana and Bolivia, Ghana the stronger team has a probability of 2/3 of winning the game. What is the probability that Paul will correctly pick the winner of the Ghana-Bolivia game?

5 Answers   TCS,


FREE DOWNLOAD GATE EE,ECE,ME, CIVIL QUESTION WITH ANSWER

33 Answers   Accenture, Amul, GATE, HCL, NTPICET, PIL, Syntel, TATA, TNPSC Tamil Nadu Public Service Commission, Wipro,


Categories