i want to implement a JFrame to switch between two or more windows with different contents. I think a CardLayout is the best option here.
But I don't know how to use that. I have different "windows" with different functionalities. For example I click on a button at the main menu and this leads me to the next "page" (next window).
Thx all in advance