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
The horse has played a little known but very important role in the field of medicine. Horses were injected with toxins of diseases until their blood built up immunities. Then a serum was made from their blood.Serums to fight with diphtheria and tetanus were developed this way. It can be inferred from the passage, that horses were (A) given immunity to diseases (B) generally quite immune to diseases (C) given medicines to fight toxins (D) given diphtheria and tetanus serums
could u send me the model papers for drug inspector exam at imrupinder@gmail.com
the servents of india society was founded by ?
What are the most asked questions for learner operators in the interview for eskom?
c program to compare the initial portions of the two strings and return the matched portion if matches, otherwise return the empty string.
in which state of india has no panchayatraj
how to prepare for bcil bitp
what will the output of this program. sint a=10,b; b=a++ + ++a; printf("%d,%d,%d,%d",b,a++,a,++a)
REPO Structure and terminology
sir , please send me previous gate ece questionpapers with explanations.i want 15 years of gate ece question papers
Discussion Topic: “Statutory Defintions” Discussion Questions: Q1 Is it correct that a loan or an advance by a private limited company to a shareholder of the company is considered as payment of dividend? Explain your views. Q2 Will a loan or advance by a private limited company to its holding company be considered as payment of dividend if the subsidiary possesses sufficient amount of accumulated profits?
richman keeps in pocket poor man throws and kids eat me am an english word P-U--E--L
is vertical heat exchanger has better heat transfer coefficient than horizontal heat exchanger?
weather any body knows how th partiton of sections in rrb is aote 1,genera nowlge 2,intellgince 3,maths 4,english 5,science
why does find out power factor?