[summary: Is the performance of Swing at least in the same dimension as openGL [through LWJGL]? If yes, what percentage would you give it? What possible other problems can I expect from Swing in the long run, that I would avoid with openGL?]
So for quite some time I wanted to make my own simple java 2D game engine.
On my first try I was following a tutorial that used openGL (through LWJGL) Because said tutorial wasn't complete I was kind of lost at the end, which caused me to use code that was so inefficient that a simple pong game crashed after 10 seconds because the jvm ran out of memory.
On my second try I, quite successfully, used Swing to render to a jPanel, which significantly reduced the complexity involved (Why can't lwjgl have ANYTHING similar to JPanel.render(Image)?) and allowed me to create some simple games that so far don't seem to take up excessive memory / cpu.
Now my question is whether this could bite me in the ass in the long run, or if it eventually only comes down to a negligible performance hit that I would trade for a more intutive way to code. (Note that I don't care about 3D for now)