🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #179

Re: loading screen for Java application

#179
From: tom
Date: Thu, 13 Jul 2006 20:36
47 lines
2737 bytes
I found a very nice FREE API for JFC/Swing that solves my problem. It's 
called Foxtrot.

Tom



"Paul Furbacher [TeamB]" <pfurbacher@mac.com> wrote in message 
news:43e95c3d$1@newsgroups.borland.com...
> tom wrote:
>
>> Thanks for your suggestion. I do not need a progress dialog. I just want 
>> to use a real simple splash screen to display some text while the java 
>> application is loading.
>> I tried JDialog and JWindow; however, I can not get the text to display 
>> on the contentPane unless I set the setModal to true, which it's kind of 
>> defeating the purpose.
>>
>> Once I set the setModal to true, it takes over the current process 
>> thread. It will not continue until I manuall close the dialog.
>>
>> Am I missing something here? Please take a look at the following code 
>> snip.
>
> Yes, you are missing exactly what was discussed in those
> articles.  Please take the time to look at them.  All
> you have to do is apply the principle in those articles.
> The only difference is that you are not changing the text.
> Conceptually it's the same whether there's dynamic update
> or not.  It's a threading issue, and those articles will
> prime your thinking to deal with it correctly.
>
>
> -- 
>
>
> Paul Furbacher (TeamB)
>
>   Save time, search the archives:
>        http://info.borland.com/newsgroups/ngsearch.html
>
>   Is it in Joi Ellis's Faq-O-Matic?
>        http://www.visi.com/~gyles19/fom-serve/cache/1.html
>
>   Finally, please send responses to the newsgroup only.
>   That means, do not send email directly to me.
>   Thank you. 
Technical Details
Message-ID: <44b6aed5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.spamkiller.net!sp6iad.superfeed.net!in2.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43e7dbf3@newsgroups.borland.com> <43e81693$1@newsgroups.borland.com> <43e93e25$1@newsgroups.borland.com> <43e95c3d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,3d616149f9b71a58
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Subject: Re: loading screen for Java application
From: "tom" <zhangx@gaia.ecs.csus.edu>
Date: Thu, 13 Jul 2006 13:36:39 -0700
Message-ID: <44b6aed5$1@newsgroups.borland.com>
References: <43e7dbf3@newsgroups.borland.com> <43e81693$1@newsgroups.borland.com> <43e93e25$1@newsgroups.borland.com> <43e95c3d$1@newsgroups.borland.com>
Lines: 49
NNTP-Posting-Host: 136.200.198.187
Organization: java developer beginner
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.spamkiller.net!sp6iad.superfeed.net!in2.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
Newsgroups: borland.public.jbuilder.java.swing
X-Trace: newsgroups.borland.com 1152822997 136.200.198.187 (13 Jul 2006 13:36:37 -0700)
Reply-to: "tom" <zhangx@gaia.ecs.csus.edu>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response