How to use double buffering inside a thread and applet
Posted
by russell
on Stack Overflow
See other posts from Stack Overflow
or by russell
Published on 2010-05-20T12:11:11Z
Indexed on
2010/05/25
2:21 UTC
Read the original article
Hit count: 252
java
I have a question about when paint and update method is called?? i have game applet where i want to use double buffering.But i cant use it.the problem is In my game there is a ball which is moving inside run() method.I want to know how to use double buffering to swap the offscreen image and current image.Someone plz help.
And when there is both update() and paint() method.which are called first,when and why ???
© Stack Overflow or respective owner