Question about cardlayout
I have looked at many cardlayout tutorials and examples and I have not been able to figure this situation out.
I am trying to create a GUI where the user can switch between multiple screens.
For example, there would be the welcome screen with a few buttons like Start Game, Instructions, Quit, etc....
When the user clicks on a button, it would bring them to the new screen.
Every example of cardlayout I have seen, there is usually a small panel of buttons that are constant. Is this a requirement for using cardlayout? Or can you have different buttons on your different panels for the navigation?