what does JComponent.invalidate()or JComponent.invalidate()do?
Answer / 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 |
what is inflationWhat is Inflation? How can we calucalate inflation? and what is the present rate of Inflation?
what is the name of transformer
Sir,i'm doing Engg. from MECHANICAL branch. now i'm in 3rd year and i want to do the preparation of GATE.sir please tell me i should refers which book and notes.and from which subject i should start my preparion.
A new group of countries called BASIC is frequently mentioned in the news. which of the following is not one of them? (a) Argentina (b) Brazil (c) India (d) South Africa
can i knw what are we supposed to read for the coming oces/dgfs 2009 exam?what kind of book are we supposed to study?
Can anyone solve this series 22,44,88,176,?,1595
centre of agriculture marketing is located ...........
WHY SHOULD HAVE NEUTRAL PATH? IS ANY POWER IS IN NEUTRAL? IF YES WER IT BE DELIVERED? IF NO WAT IS THE MEANING OF RETURN PATH
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
I want to know the exact syllabus for gate in electrical engineering and minimum marks to be secured
void main() { int x=4,y,z: y=--x; z=x--; } what is the output
if the polynomial x^4-6x^3+16x^2-25x+10 is divided by another polynomial x^2-2x+k the reminder is x+a. Find k and a.