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
plz send me bhel paper....
how to resize the components?
please i need nautical science past question and answer
in which state of india has no panchayatraj
what is theaverage weight of one brick?
can i have the model papers for gate along with answers on my email id krish231191@gmail.com please???
What is the number which when divided by 12,15 and 24 gives remainder 5?
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
.students decide to gift principal 4200 rupees. if teachers give 50% more than the students and an external person gives 3 times to that of teachers.how much do teachers give.
What is the differents between the Physics & technical Physics
Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com
types of highways
Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com
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.
Book for preparation of HPCL (CS/IT) .