Article View: borland.public.jbuilder.java.swing
Article #492Re: card layout issue
From: Lori M Olson [TeamB]
Date: Tue, 19 Jul 2005 14:26
Date: Tue, 19 Jul 2005 14:26
31 lines
1836 bytes
1836 bytes
dingfelder wrote:
> Forget I asked. I misspelled the card panel string.
>
> It seems that the card panel does not complain if you call show for a
> nonexistant card :(
>
> Seems like it should throw an exception if you pass it a bad card
> name`.
>
CardLayout has been around since Java 1.0.x. It's always worked that
way. If they changed it now, it would break a lot of old code.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<42dd0d8a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42dc712b$1@newsgroups.borland.com> <42dc71e9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,910744e288985235 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 19 Jul 2005 08:26:21 -0600 From: "Lori M Olson [TeamB]" <javadragon@techie.com> User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: card layout issue References: <42dc712b$1@newsgroups.borland.com> <42dc71e9$1@newsgroups.borland.com> In-Reply-To: <42dc71e9$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <42dd0d8a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121783178 142.179.181.200 (19 Jul 2005 07:26:18 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail