-
Bug
-
Resolution: Fixed
-
P5
-
1.4.0
-
None
-
beta
-
generic
-
generic
There seems to be a little confusion about whether or not subclasses of
Canvas.java need to call super.update() and super.paint() when they override
those methods.
They should call super.update(), or put the same functionality into their
own update method: clearing the damaged region by calling g.clearRect(),
and then calling paint().
It is not necessary (or desirable) to call super.paint().
Canvas.java need to call super.update() and super.paint() when they override
those methods.
They should call super.update(), or put the same functionality into their
own update method: clearing the damaged region by calling g.clearRect(),
and then calling paint().
It is not necessary (or desirable) to call super.paint().