Article View: borland.public.jbuilder.java.api
Article #787Re: Alternatives to Threading?
From: Mike Mormando
Date: Tue, 22 Oct 2002 17:01
Date: Tue, 22 Oct 2002 17:01
11 lines
1565 bytes
1565 bytes
"Bob Rodehorst" <rrodehorst@seacorp.com> wrote in message news:3DB56599.6050703@seacorp.com... > I've been told that it's not a good idea to put GUI actions inside of > separate threads. Is this true? If so, how should I handle this > situation? Any help would be greatly appreciated. Thanks! I believe, at least with Swing, that GUI updates will only take place in the main thread, no matter what you try to do. I think Owen's suggestion is best, put up your wait screen and do the queries in the threads. Mike
Technical Details
Message-ID:
<3db5816b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3DB56599.6050703@seacorp.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,4258492bf8c00acc X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-10-22 12:40:04 PST Reply-To: "Mike Mormando" <Mike.Mormando@nospamflyingj.com> From: "Mike Mormando" <Mike.Mormando@nospamflyingj.com> Newsgroups: borland.public.jbuilder.java.api References: <3DB56599.6050703@seacorp.com> Subject: Re: Alternatives to Threading? Date: Tue, 22 Oct 2002 11:01:51 -0600 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 204.110.225.254 Message-ID: <3db5816b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1035305323 204.110.225.254 (22 Oct 2002 09:48:43 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail