Difference between the paint() and repaint() methods?
Answer / ranganathkini
The paint method causes the component and and all its parts
to be painted on the Graphics context tat is passed in as
parameter.
If the component is a light-weight component, then a call to
the component's repaint method which invokes the paint
method as soon as possible. If the component is not a
light-weight component, then calling repaint is the same as
calling the update method.
Is This Answer Correct ? | 19 Yes | 13 No |
What is the intersection and union methods?
Hi buddy, well i got that there is always a default constructor with abstract class. OK. But why not with interface? Thanks in advance.
how to print output with out using sop statements
How many bits is a char?
What are the types of relation?
What is the difference between set and list?
Which are different kinds of source code?
What are the advantages of user defined functions?
What is natural ordering in java?
When should I use singleton?
What is 'finally' method in Exceptions?
What is final modifier?