🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: progress bar during a critical operation in the event dispatch thread

#101
From: Tony
Date: Mon, 23 Jan 2006 19:23
18 lines
1800 bytes
Thanks a lot for your commends.

Kevin, thank you for the pointer. I have always used the method
you describe in the past, but in my simplified example (actual case
is much more complex) I needed  to avoid immediately returning
from the eventHandler method. I eventually solved the problem by
introducing a useless modal dialog (I used it as a way to re-route
the event dispatch thread to allow me to continue posting events
to the Swing thread without exiting the original event handler).

David, I have not tried using the framework, but by reading the
description it absolutely sounds like a very elegant solution to my
problem and would allow me to avoid using the ugly modal dialog
hack. Thanks a lot for the reference!

I greatly appreciate the help!

Tony. 
Technical Details
Message-ID: <43d52c77$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!tethys.csu.net!pln-w!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43d3363e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,dfff19faba996f35
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tony" <aoganesi_a^t_yahoo_._com>
Newsgroups: borland.public.jbuilder.java.swing
References: <43d3363e$1@newsgroups.borland.com>
Subject: Re: progress bar during a critical operation in the event dispatch thread
Date: Mon, 23 Jan 2006 11:23:28 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 66.18.138.24
Message-ID: <43d52c77$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138044023 66.18.138.24 (23 Jan 2006 11:20:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!tethys.csu.net!pln-w!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail