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 , please send me previous gate ece questionpapers with explanations.i want 15 years of gate ece question papers
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
please i need nautical science past question and answer
the servents of india society was founded by ?
plz send me bhel paper....
sir can you send me previous question paper of jsplGET entrance test
how to prepare for bcil bitp
If Q is the point of ABCD rectangle where QA=3CM,QB=4CM,and QC=5cm then find the length of QD ?
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.
Sir Pl Provide the diploma nautical science sample paper
Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com
why the uncontrolled rectifiers are converting fixed ac to fixed dc only why not it is converting variable dc
weather any body knows how th partiton of sections in rrb is aote 1,genera nowlge 2,intellgince 3,maths 4,english 5,science
i have M.TECH interview on RF AND MICROWAVE ENGINEERING IN IIT (KHARAGPUR/ROORKEE).KINDELY TELL WHAT SUBJECTS SHOULD I READ AND WHAT ARE THE INTERVIEW QUESTIONS.
What are the most asked questions for learner operators in the interview for eskom?