Article View: borland.public.jbuilder.java.swing
Article #7715Re: JDialog and CardLayout problem switching between panels
From: Torsten Welches
Date: Thu, 04 Jan 2001 19:57
Date: Thu, 04 Jan 2001 19:57
19 lines
1637 bytes
1637 bytes
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:
<3a54d63b$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.tele.dk!194.213.69.151!news.algonet.se!algonet!news000.worldonline.se!news-sto.telia.net!News.Amsterdam.UnisourceCS!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!194.8.209.171References:
<3a54aca1$1_1@dnews> <3a54c374_2@dnews> <3a54cc17_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:00:36 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Newsgroups: borland.public.jbuilder.java.swing References: <3a54aca1$1_1@dnews> <3a54c374_2@dnews> <3a54cc17_1@dnews> Subject: Re: JDialog and CardLayout problem switching between panels Date: Thu, 4 Jan 2001 20:57:20 +0100 Lines: 21 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 194.8.209.171 Message-ID: <3a54d63b$1_1@dnews> X-Trace: 4 Jan 2001 11:59:55 -0800, 194.8.209.171 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.tele.dk!194.213.69.151!news.algonet.se!algonet!news000.worldonline.se!news-sto.telia.net!News.Amsterdam.UnisourceCS!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!194.8.209.171