🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1986

Re: event dispatch thread

#1986
From: Joi Ellis [TeamB]
Date: Tue, 19 Jun 2001 13:34
17 lines
1522 bytes
"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: <3b2f54d9_1@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!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail
References: <3b2f4d9a_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 06:41:51 PST
Message-ID: <3b2f54d9_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: event dispatch thread
Newsgroups: borland.public.jbuilder.java.api
References: <3b2f4d9a_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 209.46.41.66
Date: 19 Jun 2001 06:34:17 -0700
X-Trace: dnews 992957657 209.46.41.66 (19 Jun 2001 06:34:17 -0700)
Lines: 17
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!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail