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

difference between connection less and wireless network ?

1 Answers   GATE, KLN College of Engineering,


in which state of india has no panchayatraj

0 Answers  


who is the chairperson of SBI??

2 Answers  


what will the output of this program. sint a=10,b; b=a++ + ++a; printf("%d,%d,%d,%d",b,a++,a,++a)

0 Answers  


Why voltage drops in star connected motor And how IL=ph

0 Answers   Private,


WHO IS INVITED WIRELESS FIDELITY TECHNOLOGY

0 Answers  


what is the role of commutator in dc motor

2 Answers   Bhel,


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

4 Answers   DELL,


hai i need to no hpcl portion i am going to write on march2 so please send to my id satish_don334@yahoo.co.in

0 Answers  


a guy hired 5 men to work on a project and they completed the job in 13 days. IF, on the 4th day, 2 men resigned, then how long would they complete the job?

1 Answers   IBM,


Find a five digit number subject to following conditions 1.It contains 2 prime no digits 2.3rd digit is the lagest. 3.1st digit = (3 rd digit - 1). 4.Sum of 4th digit and 5th digit is less than 1st digit. 5.Value of the 5th digit lies between the value of 1st digit and 2nd digit, 5th digit is one half of the 4th digit.

1 Answers  


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

2 Answers  


Categories