[quote]So what do you reccomend for someone new to java
I’d recommend using a game library (Slick2D, LibGDX) rather than a graphics library (Java2D)… It’s really as simple as that. You will save yourself a lot of time and headache. If you don’t believe me, try writing a breakout clone in both libraries, then decide for yourself.
Honestly I feel like the only people recommending Java2D are those who have never developed a game in both Java2D and Slick2D/LibGDX, or are simply so accustomed to Java2D that they are too lazy/scared to learn something else.
[quote]Did you learn anything while using Swing/Java2D? It’s not so much about wasting time with a useless library, it’s more about a newbie learning basic game design without moving on to more complex tech like OpenGL.
After a year of Swing/Java2D I had learned a lot about programming and OO design. I would have learned the same had I been using Slick, LibGDX, PyQt, or what have you – the only difference is that I would be gaining experience with a library that I would later use, as opposed to later not use.
Regarding “more complex tech like OpenGL” – Slick hides OpenGL.