Im trying to get some code working, essentally what meant to happen is the player loses and it displays 2 images in an external javaclass GUI, before waiting a delayed second then goint to a third javaclass with a diffrent gui
The problem im having is all the GUIs seem to run at once rather than one after the other. Is there any other methods or a fix for this? its a problem and it affects my entire project as a major part.
Current is what i have semi working and working is whats meant to happen when the snake game is lost.
I have also included the methods im using to change java classes