-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
sparc
-
solaris_7, solaris_8
-
Verified
In Windows and Solaris :
Dialog options can be set to a printjob through the JobAttributes class of java.awt. Three dialog options are provided by this class . they are NONE - no dialog will pop up (background printing), NATIVE - Native dialog will popup and COMMON - Pure java dialog will popup. But here printjob pops up only the Native dialog irrespective of the dialog type set. This occurs in merlin-beta.
How to reproduce the bug--->
Run the sample program. You will get a frame with a textarea and 3 buttons. Press the 'Print-None' button. check whether native dialog pops up. if it pops up, bug is reproduced. Press 'Print-Common' button. check whether native dialog pops up. if it is popped up, the bug is reproduced. Whole frame will be printed if you press 'ok' of the print dialog.
Dialog options can be set to a printjob through the JobAttributes class of java.awt. Three dialog options are provided by this class . they are NONE - no dialog will pop up (background printing), NATIVE - Native dialog will popup and COMMON - Pure java dialog will popup. But here printjob pops up only the Native dialog irrespective of the dialog type set. This occurs in merlin-beta.
How to reproduce the bug--->
Run the sample program. You will get a frame with a textarea and 3 buttons. Press the 'Print-None' button. check whether native dialog pops up. if it pops up, bug is reproduced. Press 'Print-Common' button. check whether native dialog pops up. if it is popped up, the bug is reproduced. Whole frame will be printed if you press 'ok' of the print dialog.
- duplicates
-
JDK-4391493 Specifying DestinationType.FILE or DialogType.NONE in tk.getPrintJob ignored
-
- Closed
-
- relates to
-
JDK-4421212 In Solaris , The Common PrintDialog is poped up when Native dialog is called
-
- Closed
-