🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9523

Re: createImage in swing

#9523
From: John Zukowski
Date: Wed, 08 Mar 2000 00:00
24 lines
1229 bytes
Don't use createImage. It doesn't copy screen. Use the RepaintManager. See
http://java.about.com/compute/java/library/weekly/aa071799.htm for an example.

J

markus rinderer wrote:

> hi there!
> whatever i do, i am not able to use the createImage method on Components in
> JDK1.2
> i wnat to capture the image of a JPanel
> so i call the creatImage method that returns an Image
> the image is NOT null, it has the right dimensions, but there is nothing in
> there!
> has anyone had this problem and can help me?
> cheers
> markus rinderer

--

John Zukowski
Get the jFAQs
http://www.jguru.com/jguru/faq/
Focus on Java @ http://java.about.com
Technical Details
Message-ID: <38C5DF3B.BC55187@jguru.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <88uahn$5334@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,81f8877bd865435d
X-Google-Attributes: gid111d45,public
From: John Zukowski <jaz@jguru.com>
Subject: Re: createImage in swing
Date: 2000/03/08
Message-ID: <38C5DF3B.BC55187@jguru.com>
X-Deja-AN: 594572795
Content-Transfer-Encoding: 7bit
References: <88uahn$5334@bornews.borland.com>
To: markus rinderer <mrinderer@viviance.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: jGuru.com
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing