🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7988

Re: processmessages

#7988
From: Calvin R. Smith
Date: Mon, 07 May 2001 19:38
14 lines
1262 bytes
to allow the current thread to yeild some time you can use
Thread.getCurrentThread().yield()

"Hilmar Demant" <demant@cas.de> wrote in message news:3af67f8e_1@dnews...
> Hi,
>
> if a cpu-intensive routine wants show some progress-information on the gui
> (in the same thread) is there a way to call something like
> "application.processmessages" (sorry i am a win-delphi-programmer) so the
> output is painted?
>
>
>
>
Technical Details
Message-ID: <3af6fa10$1_2@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!209.98.98.64!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews
References: <3af67f8e_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1bf79ca849b4cb0d
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-07 12:51:58 PST
From: "Calvin R. Smith" <calvinrsmith@hotmail.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3af67f8e_1@dnews>
Subject: Re: processmessages
Date: Mon, 7 May 2001 13:38:21 -0600
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 207.201.104.90
Message-ID: <3af6fa10$1_2@dnews>
X-Trace: dnews 989264400 207.201.104.90 (7 May 2001 12:40:00 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!209.98.98.64!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews