Hi, I have a program which I utilize the StdDraw famous library in order to get the double buffering to run smoothly, and it does.
Like most double buffering technique, there is the BufferedImage object that represents the offscreen image which yet to be presented.
Regardless double-buffering, I've been trying to copy the offscreen image (in different time periods) so that I'll have some sort of a "screen status" or a "screen shot" to be more exact.
Then, after I have the "snap shot", to drawq that image on the offscreen image graphics component. That just doesn't work to me at any way....
Here are the functions I've made inside the StdDraw file that are supposed to make that happen, but don't succeed:
NOTE: function draw() doesn't actually drawing the image when is called on these functions.