Everything is fine when i first run the code. all panels are correct, showing where they should be shown @ the right time @ the right place. But in my game, i wanted it to go back to the menu when the game is over. So, i tried to include the menu code because the function for the menu is there which is the "logoscreen".