Don't enter an infinite loop until the initialization is finished.
Better to Create a Thread and do the infinite loop there.
Type: Posts; User: Norm
Don't enter an infinite loop until the initialization is finished.
Better to Create a Thread and do the infinite loop there.
Does it come out of the gameloop method?
If it never exits the gameloop method, then it never returns from the Panel class's constructor and it nevers finishes the Game class's constructor.
Add lots of println statements to the code in all of the methods to see where the execution flow goes.
You need to see where the code is executing and where it is not executing.