🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to make a JFrame "Thread"?

#849
From: Werner Nussbaumer
Date: Fri, 27 Sep 2002 10:12
10 lines
1197 bytes
I wrote an application with a JFrame as the main view. It calls via a
timer event a thread which reads files. Durung this thread is
executed, the calling JFrame waits until the thread finishes and mouse
clicks a.s.o. are not processed.
How can I define a JFrame that gets CPU time if the called thread
calls yield() or sleep() ?

Thanks for any help
Regards
Werner Nussbaumer
Technical Details
Message-ID: <60f0c55f.0209270212.4649ceca@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,9d147d68c1d3029b,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-09-27 03:12:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: w.nussbaumer@datacomm.ch (Werner Nussbaumer)
Newsgroups: borland.public.jbuilder.java.api
Subject: How to make a JFrame "Thread"?
Date: 27 Sep 2002 03:12:49 -0700
Organization: http://groups.google.com/
Lines: 10
Message-ID: <60f0c55f.0209270212.4649ceca@posting.google.com>
NNTP-Posting-Host: 193.134.254.145
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1033121569 10938 127.0.0.1 (27 Sep 2002 10:12:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 27 Sep 2002 10:12:49 GMT