Article View: borland.public.jbuilder.java.swing
Article #9512How do a capture the "canvas" of a JFrame?
From: John Hines
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
9 lines
1094 bytes
1094 bytes
I have some code I inherited where a complex image is written onto an off-screen JFrame-derived class. I need to write the image (don't need the JFrame) out to a file in standard format. This would be easy if I had the picture as a pixel array or bitmap or (preferably) as an Image. How do I do this? Can somebody toss me a hint or point me to a book or some commercial code? Thanks, John Hines jrhines@onramp.net
Technical Details
Message-ID:
<r8Uw4.16250$MD3.24657@dfw-read.news.verio.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,2690e05df3c4a3f8,start X-Google-Attributes: gid111d45,public From: "John Hines" <jrhines@onramp.net> Subject: How do a capture the "canvas" of a JFrame? Date: 2000/03/06 Message-ID: <r8Uw4.16250$MD3.24657@dfw-read.news.verio.net> X-Deja-AN: 593939654 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@verio.net X-Trace: dfw-read.news.verio.net 952372887 204.0.61.159 (Mon, 06 Mar 2000 20:01:27 GMT) Organization: Verio X-MSMail-Priority: Normal NNTP-Posting-Date: Mon, 06 Mar 2000 20:01:27 GMT Newsgroups: borland.public.jbuilder.java.swing