Hello all,
I've got a Swing gui, and there's a JPanel in there. I want to be able
to have a number of JFrames, and be able to replace one with another, so
that an initial set of buttons in a JFrame can be replaced with another set.
I hope that makes sense. I know about TabbedPane but I don't want the tabs.
Ta!

Signature
Nick H
Brian Pipa - 11 Jan 2004 00:29 GMT
> Hello all,
> I've got a Swing gui, and there's a JPanel in there. I want to be able
> to have a number of JFrames, and be able to replace one with another, so
> that an initial set of buttons in a JFrame can be replaced with another set.
> I hope that makes sense. I know about TabbedPane but I don't want the tabs.
Sounds like you want a cardlayout.
Brian

Signature
---
MP3 Automagic CD Cover Creator
http://maccc.filenabber.com
Nick Howes - 11 Jan 2004 00:34 GMT
> > I know about TabbedPane but I don't want the tabs.
> >
> Sounds like you want a cardlayout.
Your hearing is excellent, I think that's exactly what I need! thanks Brian,
Nick H
Andrew Thompson - 11 Jan 2004 04:44 GMT
| Hello all,
| I've got a Swing gui, and there's a JPanel in there. I want to be able
| to have a number of JFrames, and be able to replace one with another, so
| that an initial set of buttons in a JFrame can be replaced with another set.
| I hope that makes sense.
Not completely, no.
| I know about TabbedPane but I don't want the tabs.
If you want a number of components in a single
screen space - CardLayout.
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site