I searched the forums and found nothing.
I did double buffering manually the old way so I decided to incorporate BufferStrategy in my game.
All I changed in my rendering loop is that I use strategy.getDrawGraphics() to get a Graphics object to draw on and then strategy.show() to flip.
However, this results in heavy flickering. It seams like it draws graphics only on every other Graphocs object.
Is this a commong problem meaning I’ve missed something fundamental?
Basically I use this approach: First I have some menus and stuff (I use Swing for buttons here) and then when playing I use no Swing stuff at all. I pass the Graphics object along to my dufferent objects to draw on (track, cars, etc).
Any idea? Is it the Swing stuff that messes everything up or is something else wrong? I can describe my rendering loop in detail if needed.