so I'm wondering what the deal is with "removed 2D OpenGL initialization code from Display"?
Am I missing something?
Quoteso I'm wondering what the deal is with "removed 2D OpenGL initialization code from Display"?The Display.create() used to set up a 2D view the size of the window. OpenGL's normal startup state is a 3D view, I think. This was an inconsistency with OpenGL standards.The only thing you would need to change if using 2.0 is to make sure that you are setting up the 2D view yourself (simple call to glOrtho(), I think).
Here's my best guess (without seeing all the code):The code you posted is running as a result of a button press on the JFrame.The run method is a game loop.The problem comes in that the game is running in the AWT event thread (because that's what handles the button press). The run method (being a loop) never exits so no more AWT events get processed causing the JFrame to seem like its frozen.I think you need to start the run loop in another thread so that the AWT event thread can continue.