diff options
Diffstat (limited to 'libjava/java/awt/print/PrinterJob.java')
-rw-r--r-- | libjava/java/awt/print/PrinterJob.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libjava/java/awt/print/PrinterJob.java b/libjava/java/awt/print/PrinterJob.java index b9e558c..ccaf5dc 100644 --- a/libjava/java/awt/print/PrinterJob.java +++ b/libjava/java/awt/print/PrinterJob.java @@ -118,8 +118,7 @@ getJobName(); * * @param job_name The name of the print job. */ -public abstract String -setJobName(String job_name); +public abstract void setJobName (String job_name); /*************************************************************************/ @@ -195,8 +194,7 @@ pageDialog(PageFormat page_format); /** * Prints the pages. */ -public abstract void -print(); +public abstract void print () throws PrinterException; /** * Displays a dialog box to the user which allows the print job |