Multiple Panels in JFrame or JPanel
I have to develop a simple GUI for an assignment and basically it involves a simple Graphics display centered in the Form (which I have done so far), and multiple Panels that have different inputs that I want to overlap one another once each has been used.
I.e. if I have four panels different panels that I want to be able to rotate between in the Bottom Right Hand Side of the Panel, how do I go about this?
That was probably a bit too ambiguous, basically I have any opening Panel, the user passes attributes and hits the 'OK' Button, once this event has occurred I want the original panel to 'disappear' and be replaced with a new Panel and so forth, how do I go about this?
I have designed each of the panels, but can't get them to 'overlap' so to speak,
Any help would be greatly appreciated, this has been driving me insane!!
Thanks in advance,