Article View: borland.public.jbuilder.java.language
Article #15844Re: PrintJob example needed
From: Kjetil Fjellheim
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
13 lines
850 bytes
850 bytes
PrintJob pjobb = getToolkit().getPrintJob(this,"Name",null);
if (pjobb != null)
{
Graphics g =pjobb.getGraphics();
if (g != null)
{
frame.paint(g); // Your frame's paint method
g.dispose();
}
pjobb.end();
}
- Kjetil Fjellheim
Technical Details
Message-ID:
<371F5BD6.EAFC4B9A@hinux.hin.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<371EDFB5.F8FAB8F0@infn.it>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,68b5082757559173 X-Google-Attributes: gidf74b3,public From: Kjetil Fjellheim <kj@hinux.hin.no> Subject: Re: PrintJob example needed Date: 1999/04/22 Message-ID: <371F5BD6.EAFC4B9A@hinux.hin.no> X-Deja-AN: 469636017 Content-Transfer-Encoding: 7bit References: <371EDFB5.F8FAB8F0@infn.it> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language