jTouhou - very slow framerates & HUGE delay before window pops up

You can download a current build (including neede resources) and current source code @ beam.to/jtouhou or taif.selfip.com

My problem is this: Even after profiling all the code in my game, the slowdown seems to be the initialization of the new GLJPanel, Setting the window to visible, and the first 3 redraws. After that, fps gradually ups to 20 fps… but its still very slow.

So, I’m requesting a quick look-over by anyone with some time to see if I made any blatant errors :stuck_out_tongue: if this sort of post is disallowed, I’ll really try to just post code snippets here but honestly I still think I have no idea where the slowdown is: the fact is, that from runtime to first repaint (I get a “transparent frame” for a few SECONDS) it takes 23 seconds MINIMUM before the game starts running. AND then, its only 20 fps…

Anyway, thanks for reading! go to beam.to/jtouhou to get the current src code.