title: Java 2D game graphics
body: <p>Next semester we have a module in making Java applications in a team. The requirement of the module is to make a game. Over the Christmas holidays I've been doing a little practice, but I can't figure out the best way to draw graphics.</p>
  
  <p>I'm using the Java Graphics2D object to paint shapes on screen, and calling <code>repaint()</code> 30 times a second, but this flickers terribly. Is there a better way to paint high performance 2D graphics in Java?</p>