Article View: es.comp.lenguajes.java
Article #25899Printing images & jdk1.2
From: Mariano Gal�n Mart�n
Date: Mon, 22 Feb 1999 00:00
Date: Mon, 22 Feb 1999 00:00
16 lines
1048 bytes
1048 bytes
How i can send a BufferedImage to printer? I�m using JDK 1.2. The
BufferedImage is into a JPanel together with lines, ovals, text,ect. When I
print the JPanel, all components of this, print correctly, but the picture
not. I capture the Exception ClassCastExcetion in
g.drawImage(bufferedImage, null, x, y) //g is the Graphics2D used to
display and
print
Why?
How i can print pictures correctly?
Thanks.
PD: Me podeis resonder en espa�ol.
Technical Details
Message-ID:
<7arabe$iij$1@bufalo.lander.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1116f3,6541dd7a4d7783ba,start X-Google-Attributes: gid1116f3,public From: "Mariano Gal�n Mart�n" <mgm@sdsoftware.es> Subject: Printing images & jdk1.2 Date: 1999/02/22 Message-ID: <7arabe$iij$1@bufalo.lander.es> X-Deja-AN: 447285997 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@lander.es X-Trace: bufalo.lander.es 919678126 19027 195.76.47.68 (22 Feb 1999 10:08:46 GMT) Organization: Lander Internet NNTP-Posting-Date: 22 Feb 1999 10:08:46 GMT Newsgroups: es.comp.lenguajes.java