
-----------------------------------
GodofOsiris
Sun Jun 18, 2006 4:05 pm

Double Buffer
-----------------------------------
Hey can anyone help me out with finding the code for Double Buffers in a Frame cause all information I find is for Applets

-----------------------------------
HellblazerX
Sun Jun 18, 2006 4:21 pm


-----------------------------------
Double buffering?  Double buffering isn't a command or method.  It's a technique of drawing graphics.  Basically you create separate Graphics and Image instances, and you draw everything onto those.  When you want to draw onto the screen, you just draw your double buffer image inside the paint () method.

-----------------------------------
[Gandalf]
Sun Jun 18, 2006 6:43 pm


-----------------------------------
It works the same, GodofOsiris.  If you understand what they are telling you and you know how to use a Frame then it's easy (really, no changes to double buffering code are neccessary).
