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

Book for preparation of HPCL (CS/IT) .

0 Answers   BSCS, HPCL,


types of highways

0 Answers  


why networking is nessasary

1 Answers  


If ab=cd and a is 25% greater than c, then by what percent d is greater than b?

1 Answers  


Sir Pl Provide the diploma nautical science sample paper

0 Answers  


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

1 Answers  


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,


what is the difference between interface and abstract class

0 Answers  


what is the name of transformer

2 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,


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,


Categories