I am currently working on a GUI that is to have several user screens. When the program is initially executed I want to display a "master" screen that will contain several buttons which when pressed will result in new screens of information being displayed.
Once a button is pressed on the "master" screen the "master" screen will disappear and be replaced by a relevant "secondary" screen. The secondary screens will only have one button on them, a back button which when pressed will result in the "master" screen being displayed again.
If anybody has any idea of how this can be achieved using SWING, suggestions will be greatly appreciated. If you know how to do this and wouldn't mind including some example code that would be awesome. Thanks.