[java] Update method changed?
I have several applets that override the update method for purposes of double buffering, but repaint has stopped calling the update method and instead goes straight to paint. I assume this is a result of a recent update, and it's a pretty easy fix to rename a few methods, but why is this happenning in the first place?
Yes, because the only method you're allowed to override is the paint method.
Other methods are for Swing/AWT internal use.
If you do need double-buffering, it can be just as easily implemented in paint().
Other methods are for Swing/AWT internal use.
If you do need double-buffering, it can be just as easily implemented in paint().
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement