Basic HTML version of Foils prepared May 19 99

Foil 25 To Support Printing

From Java Media Framework API's Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Byeongseob Ki, Scott Klasky, Nancy McCracken


1 1. Implement the Printable interface and provide the mechanism for imaging a page in a print(...) method
2 2. Provide a way for the user to trigger the print operation such as button click
3 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

in Table To:


© 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 Mon Jul 5 1999