How to have multiple "Pages" in an Applet?

Since I had such success and speed with my last question, I thought I would ask another one here...

Again I am new with working with Applets, they all of a sudden popped up for the course I am taking...

I haven't started coding the program yet because I am unsure of how to start.

I need to have an Applet with multiple pages, including an index page for all of the pages...

These pages would be loaded on button clicks. There also needs to be a start page with a button that says start to go to the first page. Then all of the pages will have a back and next button on them and a button to get to the index page.

What I don't understand is how to even do this? Is there a method of function that does?

Would I need to just create multiple Applets, each page being an Applet? Then on the button click load that Applet in the same Applet pane? Is this even possible?

Re: How to have multiple "Pages" in an Applet?

Hi there,
I am stuck in the same case that is switching between pages with button click. I've have spend couple of hours on card layout but i am not getting how to implement it with buttons. So if you have figured it out already, please let me know.