Article View: borland.public.jbuilder.java.api
Article #1989Re: event dispatch thread
From: Ant�nio Ferreira
Date: Tue, 19 Jun 2001 14:22
Date: Tue, 19 Jun 2001 14:22
25 lines
1874 bytes
1874 bytes
I already knew about SwingUtilities.isEventThread() but that only gives us a state of the thread. I want to set the thread as not belonging to the event dispatch thread when I create it. "Joi Ellis [TeamB]" <joi@aravox.com> wrote in message news:3b2f54d9_1@dnews... > "Ant�nio Ferreira" <antonio.ferreira@artesis.co.pt> wrote: > > Hi, > > > what can I do to ensure that a thread isn�t run in the event dispatch > > thread so that a dialog box created on that thread is immediatly updated on > > screen. > > thanks, > > There's a test method for checking if the current thread == event thread. > I think it's called SwingUtilities.isEventThread(), but my search engine is > down and I can't look it up remotely. > > -- > Joi Ellis (TeamB) http://www.teamb.com/ > No direct email, please. > For best results, post on news server newsgroups.borland.com! > Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<3b2f5f88$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnewsReferences:
<3b2f4d9a_1@dnews> <3b2f54d9_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1089d0,147cd436ba6838da X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-06-19 07:36:29 PST From: "Ant�nio Ferreira" <antonio.ferreira@artesis.co.pt> Newsgroups: borland.public.jbuilder.java.api References: <3b2f4d9a_1@dnews> <3b2f54d9_1@dnews> Subject: Re: event dispatch thread Date: Tue, 19 Jun 2001 15:22:09 +0100 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 195.22.4.100 Message-ID: <3b2f5f88$1_2@dnews> X-Trace: dnews 992960392 195.22.4.100 (19 Jun 2001 07:19:52 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews