CardLayout question
I have a card layout for my GUI and I have 2 jpanels with the first one having numerous text fields and the second one has radio buttons. Both of them also have next, previous, and cancel buttons. What i want to do is when I press the next button, I want the second panel to display.The first panel is called card1 and the second one is card2. Any help would be great.

