mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-15 12:55:07 +00:00
7042537: When press the 'Print' button,the NullPointerException is thrown and printdialog is not pop up
Reviewed-by: dcherepanov, art
This commit is contained in:
parent
b14549c78a
commit
430ceddfa3
@ -1190,10 +1190,7 @@ public abstract class Toolkit {
|
||||
* security manager's <code>checkPermission</code> method with a <code>
|
||||
* RuntimePermission("queuePrintJob")</code> permission.
|
||||
*
|
||||
* @param frame the parent of the print dialog. May be null if and only
|
||||
* if jobAttributes is not null and jobAttributes.getDialog()
|
||||
* returns JobAttributes.DialogType.NONE or
|
||||
* JobAttributes.DialogType.COMMON.
|
||||
* @param frame the parent of the print dialog. May not be null.
|
||||
* @param jobtitle the title of the PrintJob. A null title is equivalent
|
||||
* to "".
|
||||
* @param jobAttributes a set of job attributes which will control the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user