Article View: borland.public.jbuilder.java.swing
Article #1207Re: Multi-screen apps - changing from screen to screen
From: Bradley Kieser
Date: Thu, 12 Feb 2004 13:48
Date: Thu, 12 Feb 2004 13:48
22 lines
1883 bytes
1883 bytes
For others reading this thread, John's ideas here rock. I have tried them and can vouch for them. ;-) Thx John! John McGrath [TeamB] wrote: > On 2/7/2004 at 6:53:06 PM, Bradley Kieser wrote: > > >>how would you recommend implementing a "lazy load of panels" as you >>put it? I take it that you mean some sort of async load, but can you >>clarify or expand on this? > > > By creating the panel just when it is needed. In your solution (a), > you would need to add code to the method that switches which panel is > visible. Instead of assuming that a particular panel already exists > and has been added to the parent (CardLayout) panel, you would first > test whether you have created it yet and if not, create it. >
Technical Details
Message-ID:
<402b8473@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<401ef4d5@newsgroups.borland.com> <4022b192$1@newsgroups.borland.com> <40257c96@newsgroups.borland.com> <402ac235$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,cd46b352a2e83d5c X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-02-12 06:10:48 PST Date: Thu, 12 Feb 2004 13:48:40 +0000 From: Bradley Kieser <brad@kieser.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en, en-us MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Multi-screen apps - changing from screen to screen References: <401ef4d5@newsgroups.borland.com> <4022b192$1@newsgroups.borland.com> <40257c96@newsgroups.borland.com> <402ac235$1@newsgroups.borland.com> In-Reply-To: <402ac235$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 158.152.220.148 Message-ID: <402b8473@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076593779 158.152.220.148 (12 Feb 2004 05:49:39 -0800) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail