Ok… I was attempting to make a 2D game, but for some odd reason double buffering isn’t working. I have used it in several other programs and set it up the same way here, but here it doesn’t work. In the other programs the code was shorter and only one or two Images were being loaded. This program loads all the images at launch, adds all componets, sets up double buffering, but right after this I tell it to change the canvas background color to blue, screen stays white. I tell it to run the game loop (which at this point only paints parts of the background) and it does nothing. I checked with a println() to see if the Images finished loading (they did), so i just don’t know why it wont work. the code is here: http://pastebin.com/h1T4beYW
If your unwilling to look through the whole code (understandable its long), pls just tell me any Ideas you have on what might cause double buffering to not work. pls feel free to correct me if I’m doing anything horridly ineffecient or unneccesary (because I’m sure I have), Ty for any help.