I'm having trouble using panels in a GUI.
I created panels for steps through a programme. Like when you're installing something, you click "Next" and the GUI switches to the following step.
So for each of these steps, I've created a JPanel. But I was wondering, how can I make the JFrame containing the JPanel switch to another JPanel when the user clicks a button in the current JPanel?
Thx in advance.