Basic HTML version of Foils prepared
April 7 1998
Foil 20 To Support Printing
From
Overview of Java2D and Java3D Frameworks CPS616 Web Technologies --
Spring 98
.
by
Geoffrey C. Fox
1. Implement the Printable interface and provide the mechanism for imaging a page in a print(...) method
2. Provide a way for the user to trigger the print operation such as button click
3. When the user initiates printing, your application should:
Create a Book
Add the pages to be printed to the Book
Create a PrintJob object
Call print on the PrintJob object
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Sun May 3 1998