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 |
difference between connection less and wireless network ?
1 Answers GATE, KLN College of Engineering,
in which state of india has no panchayatraj
who is the chairperson of SBI??
what will the output of this program. sint a=10,b; b=a++ + ++a; printf("%d,%d,%d,%d",b,a++,a,++a)
Why voltage drops in star connected motor And how IL=ph
WHO IS INVITED WIRELESS FIDELITY TECHNOLOGY
what is the role of commutator in dc motor
void main() { int x=4,y,z: y=--x; z=x--; } what is the output
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
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?
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.
Graduate Aptitude Test in Engineering ( GATE ) Question Paper - 2001 COMPUTER SCIENCE & ENGINEERING