Sorry, I don't know why the JVM calls the paint() method when it does.
Type: Posts; User: Norm
Sorry, I don't know why the JVM calls the paint() method when it does.
You can't stop the calls to the paint method. You could use a boolean flag to control what the paint method does. If the flag is not set, set it and do the drawing. Next call to paint will find the...
When paint is called Your code clears the screen and draws 3 times
When the screen is to be repainted, it does it again.
What do you want the program to do?
If you want to save all the...