Stylepad.jar
file, so you do not need to install the SDK Demo Code to run this
Code Sample.)
The print capability added to the Stylepad application consists of JPDF Page Setup, Print Preview,
and Print dialogs. These dialogs are accessed using new menu items in the File Menu.
This example is implemented using a single class: PrintableStylepad
. The preexisting
Stylepad Demo application is contained in the Stylepad.jar
file.
This application must be run using JRE version 1.5. Version 1.5 is required because of the way in which the Stylepad Demo application was compiled. |