what does JComponent.invalidate()or JComponent.invalidate()do?
Answer Posted / 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 View All Answers
c program to compare the initial portions of the two strings and return the matched portion if matches, otherwise return the empty string.
Equivalent resistance of 100 homs and 200 homs resistors connected in parallel is
what is monetary policy
I am looking for bank exam coaching in Hyderabad. Can anybody tell me which is the best institute for BANK and which branch is good giving me branch details.
is vertical heat exchanger has better heat transfer coefficient than horizontal heat exchanger?
What are the most asked questions for learner operators in the interview for eskom?
could u send me the model papers for drug inspector exam at imrupinder@gmail.com
22. A solution of 1% (w/v) starch at pH 6.7 is digested by 15 μg of β‐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
can u explain me the way to know the relation between the active as well as the reactive power acting on an electical machine under the under excitation as well as over excitation mode
how to works epbx? how to configuration the epbx?
Design the test cases for Boundary Value analysis of the following. Consider a program that prompts the user to input three numbers (say x, y, z) and the data type for input parameters ensures that these will be integers greater than 0 and less than or equal to 100. The program should then output the numbers in ascending order.
richman keeps in pocket poor man throws and kids eat me am an english word P-U--E--L
why is it important to take m.e mechanical?is our l;ife make happier than other b.e courses only answer no comments
in vfd why we did not give directac ac supply?
in which state of india has no panchayatraj