Iīm making a simple game which consists of a Menu-screen with some images and a go-button. If you click on the go-button with the mouse you will be taken to the Game-room where there are some simple gameplay (a simple take on Space Invaders).
My question is how to go from the Menu-screen to the Game-screen (and vice versa) in an efficient and rather easy way. The rooms are painted on JPanels which are placed on a JFrame.
Thankful for help!