I am making a maze game with swing used a jpanel named as player problem is when i press resume button in GameMenu.java form it call Game.java form's constructor by passing x and y coordinates of player but player is not showing on the screen.