Article View: borland.public.jbuilder.java.swing
Article #10178Re: Swing, Threads, and Progress meters.
From: david solan
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
28 lines
1921 bytes
1921 bytes
Hi there Check out the SwingUtilities.UpdateLater method. Sounds like that is what you need to get your updates to happen outside the eventdispatch thread. Dave "John P. McGrath" wrote: > On Thu, 04 Nov 1999 06:50:22 GMT, Olaf Raether wrote: > > > take a look at the ProgressMonitor class in javax.swing > > I did - I even mentioned ProgressMonitor in my post. > > > >The ProgressMeter / ProgressMonitor examples I have seen all perform the > > >long task in a separate thread, and my application currently does all of > > >its work in the event-dispatch thread. I am concerned that moving this > > >work to a separate thread may cause problems. > > My question has to do with the concurrency issues that I think I will > have to deal with if I use ProgressMeter or ProgressMonitor. Does > ProgressMonitor help with this in some way that I am not aware of? > > -- > John P. McGrath > <mcgrath@enter.net> > <jpm@nscs.fast.net>
Technical Details
Message-ID:
<38219981.DDF4CA23@msc.ie>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<MPG.1289bc46f1d0f7aa989685@forums.borland.com> <38212c72.1261133@forums.inprise.com> <MPG.128afecc7d95098098968d@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,eebaae9990e98781 X-Google-Attributes: gid111d45,public From: david solan <david_solan@msc.ie> Subject: Re: Swing, Threads, and Progress meters. Date: 1999/11/04 Message-ID: <38219981.DDF4CA23@msc.ie> X-Deja-AN: 544397527 Cache-Post-Path: oasis010.msc.ie!unknown@opc070.msc.ie Content-Transfer-Encoding: 7bit References: <MPG.1289bc46f1d0f7aa989685@forums.borland.com> <38212c72.1261133@forums.inprise.com> <MPG.128afecc7d95098098968d@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@indigo.ie X-Trace: news.indigo.ie 941726135 194.125.128.202 (Thu, 04 Nov 1999 14:35:35 GMT) Organization: Managed Solutions Corporation, Dublin, Ireland www.msc.ie X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) MIME-Version: 1.0 NNTP-Posting-Date: Thu, 04 Nov 1999 14:35:35 GMT Newsgroups: borland.public.jbuilder.java.swing