Article View: borland.public.jbuilder.java.api
Article #2224Re: double buffering wuth jdk 1.1.5
From: John McGrath TeamB
Date: Sat, 28 Apr 2001 10:42
Date: Sat, 28 Apr 2001 10:42
20 lines
1471 bytes
1471 bytes
On Mon, 23 Apr 2001 20:38:09 +0300, Florin Ciodaru wrote:
> can someone give me a hint to realize double buffering with jdk 1.1.5
Basically, what you need to do is create an off-screen image, get a
Graphics object for the image, and call the paint method, passing it
that Graphics context. When that is done, you paint the image to the
display.
One good example of this would be the JDK 1.2/1.3 code. You might try
scrounging through its source to see how they do it.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.15543840eb90c66098a14d@forums.borland.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ae4686f_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,2c153a6a803ab072 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-04-28 04:16:05 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.api Subject: Re: double buffering wuth jdk 1.1.5 Date: Sat, 28 Apr 2001 06:42:18 -0400 Message-ID: <MPG.15543840eb90c66098a14d@forums.borland.com> References: <3ae4686f_1@dnews> X-Newsreader: MicroPlanet Gravity v2.30 NNTP-Posting-Host: 209.92.40.60 X-Trace: dnews 988454537 209.92.40.60 (28 Apr 2001 03:42:17 -0700) Lines: 20 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews