I want to know if it is possible to do page-flipping in a windowed-game [not a full-screen one].
I tried to apply the concept but nothing works:
I have 2 offscreenImages[2 offscreenGraphics] and a screenGraphics.
I paint 1 offscreenGraphic and then I do in my paint method
screenGraphic=offscreenGraphic_1;
then I paint the other one and do similar
screenGraphic=offscreenGraphic_2;
But I can’t see anything.
Questions:
- Is it possible to do page_flipping in a Frame?
- If yes, can anybody show me some code, or point me to an URL, or anything that might help me?
- If not, what is the fastest solution in drawing on a Frame?
A pseudo-code would be fine, I can apply it my code.
Thank you in advance!
Gabi
P.S. I am sure that this must have been discussed here, but my searches turned nothing usefull to me [most of the topics were about full-screen]