I'm quite new to Java, and right now I'm playing around with GUI. I now have a JFrame
- lets call it page1
- with a bit of content (text, images etc). So what I want to do is to create several such "pages" with different content, and be able to switch between these pages within my program.
So my question is, what's the best way to do this? Say I want to create a page2
with different images and text, what should I be looking at to make that happen?
I hope this is somewhat understandable. I just need to be pushed in the right direction so I know what to dig into.