Double Buffer
Author |
Message |
GodofOsiris

|
Posted: Sun Jun 18, 2006 4:05 pm Post subject: 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 |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
HellblazerX

|
Posted: Sun Jun 18, 2006 4:21 pm Post subject: (No subject) |
|
|
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]

|
Posted: Sun Jun 18, 2006 6:43 pm Post subject: (No subject) |
|
|
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). |
|
|
|
|
 |
|
|