Copied code from this tutorial- BufferStrategy

Printable View