From: Frederick W. <fre...@go...> - 2012-02-28 06:06:42
|
Erik: > The crash seems to be related to the new SplashWindow: That's correct. For the load recent, I've overlooked to put the call to loadAndStartGame into a separate (non-EDT) thread. If you don't want to remove this functionality, you would just need to replace: 328 if (selectedFile != null) { 329 loadAndStartGame(selectedFile.getPath(), selectedFile.getParent()); 330 } else { // cancel pressed 331 return; 332 } with 328 if (selectedFile != null) { 329 new Thread() { public void run() { loadAndStartGame(selectedFile.getPath(), selectedFile.getParent()); } }.start(); 330 } else { // cancel pressed 331 return; 332 } -- Frederick |