Article View: borland.public.jbuilder.java.swing
Article #7717Re: JDialog and CardLayout problem switching between panels
From: Ed
Date: Thu, 04 Jan 2001 20:30
Date: Thu, 04 Jan 2001 20:30
30 lines
1861 bytes
1861 bytes
Thanks -- Did not understand that part. It works and it makes sense to. It also simplified my code as well. Thanks Again, Ed Torsten Welches <torsten.welches@who.cares.netcologne.de> wrote in message news:3a54d63b$1_1@dnews... > ok, so to show a card you do this: > > CardLayout cl = (CardLayout)(jOverlappingPanels.getLayout()); > cl.show(jOverlappingPanels, "Query Wizard - Applied Filter"); > > or pass one of the other Strings you used when you added the panels to > jOverlappingPanels. > Note that the first parameter of the show method is the component that is > using the CardLayout, not the component that is to be shown. You pass the > string to identify the latter. > > Good luck, > Torsten > > Ed schrieb in Nachricht <3a54cc17_1@dnews>... > >Thanks for the info but I am passed that. I did not show that part but I > >have successfully implemented that part (I think). > > > <snip> > >
Technical Details
Message-ID:
<3a54ddde_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!12.39.173.65References:
<3a54aca1$1_1@dnews> <3a54c374_2@dnews> <3a54cc17_1@dnews> <3a54d63b$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,346c49090a946af6 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-04 12:37:48 PST Reply-To: "Ed" <ereyes@telynx.com> From: "Ed" <ereyes@telynx.com> Newsgroups: borland.public.jbuilder.java.swing References: <3a54aca1$1_1@dnews> <3a54c374_2@dnews> <3a54cc17_1@dnews> <3a54d63b$1_1@dnews> Subject: Re: JDialog and CardLayout problem switching between panels Date: Thu, 4 Jan 2001 14:30:49 -0600 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 12.39.173.65 Message-ID: <3a54ddde_1@dnews> X-Trace: 4 Jan 2001 12:32:30 -0800, 12.39.173.65 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!12.39.173.65