πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Resize

#7607
From: MarkW
Date: Wed, 13 Jun 2001 09:17
29 lines
1688 bytes
Hi Mike,
try putting the drawing stuff in itοΏ½s own thread.
Information on threads: java.sun.com/docs/books/tutorial/essential.

Mark

"Mike Linz" <mi7714@fh-wedel.de> schrieb im Newsbeitrag
news:9g5bl4$33c$06$1@news.t-online.com...
> Hy!
>
> i have got an application which uses a frame with some jpanels to
> draw some lines. the main panel has an eventlistener which gets
> an event with a vector and draws the lines of this event.
> when the algorithm shoots events, say 400 in a row and i resize the
> app or minimize, this happens only after ALL the events are
> gone, so if it calculates a long time you have to wait and you cant
> minimize the app!
>
> is there a way of putting my own events to a lower priority then
> any others, or what can i do?
>
>
> thanx 4 ur help,
> mike
>
>
>
>
>
Technical Details
Message-ID: <3b272f89$1_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!news-hog.berkeley.edu!ucberkeley!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <9g5bl4$33c$06$1@news.t-online.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,8024eb3808b0ba93
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-13 02:27:02 PST
From: "MarkW" <xx@yy.com>
Newsgroups: borland.public.jbuilder.java.language
References: <9g5bl4$33c$06$1@news.t-online.com>
Subject: Re: Resize
Date: Wed, 13 Jun 2001 11:17:29 +0200
Lines: 31
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: 149.225.179.226
Message-ID: <3b272f89$1_1@dnews>
X-Trace: dnews 992423817 149.225.179.226 (13 Jun 2001 02:16:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews