PageFormat
instance. The page
argument is used to initialize controls in the page setup dialog. If the user cancels the dialog then this method returns the original page
object unmodified. If the user okays the dialog then this method returns a new PageFormat
object with the indicated changes. In either case, the original page
object is not modified.
@param page the default PageFormat
presented to theuser for modification
@return the original page
object if the dialogis cancelled; a new PageFormat
object containing the format indicated by the user if the dialog is acknowledged.
@exception HeadlessException if GraphicsEnvironment.isHeadless()returns true.
@see java.awt.GraphicsEnvironment#isHeadless
@since 1.2
|
|