Hey I need some help with my java game Im making.
I wont to have an menu with 4 options, startgame, highscore, option and quit.
They quit button is easy I just setVisible(false) but when i click on the other buttons I wont to remove the buttons and include new layouts.
Ive tried to use removeALL(); to clear the container and add() a new panel to the container but it doesnt work and Im not sure I can do it that way.
Anyone have some tips or ideas how to make an menu so please share maby Im thinking all wrong I dont know..?