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
sir can you send me previous question paper of jsplGET entrance test
how to prepare for bcil bitp
what is theaverage weight of one brick?
how to resize the components?
I have cleared sbi clerk and have interview in 26/04/2010.But I am M.Ed & B.Ed,i want to u know my answed about not chose the teaching post
Sir Pl Provide the diploma nautical science sample paper
could u send me the model papers for drug inspector exam at imrupinder@gmail.com
c program to compare the initial portions of the two strings and return the matched portion if matches, otherwise return the empty string.
Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com
Respected sir/madam, My self R SANKAR. I am final year BE civil engineering student (2014-2018). i have shortlisted for isro exam 2018.last university exam (7th sem) result was declared i have scored 6.98CGPA. but they not provide last result mark sheet still now 1. What are the documents bring to isro exam venue? 2. either bring bonafide certificate from college instead of mark sheets?
sir , please send me previous gate ece questionpapers with explanations.i want 15 years of gate ece question papers
please send me NTPC previous papers on my email ID 18amarjeet.civil@gmail.com or mr.yadav143@gmail.com
weather any body knows how th partiton of sections in rrb is aote 1,genera nowlge 2,intellgince 3,maths 4,english 5,science
please i need nautical science past question and answer
can i have the model papers for gate along with answers on my email id krish231191@gmail.com please???