In 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. Here the Pure Java dialog is poped up in case of both Native and Common Dialog this is occuring only in case of Solaris . 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-Native a printDialog pops up. cancel it .. press Print-Common a Print Dialog pops up cancel it .If the dialogs poped up in both cases are the same 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. Here the Pure Java dialog is poped up in case of both Native and Common Dialog this is occuring only in case of Solaris . 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-Native a printDialog pops up. cancel it .. press Print-Common a Print Dialog pops up cancel it .If the dialogs poped up in both cases are the same the bug is reproduced . Whole frame will be printed if you press 'ok' of the print dialog.
- relates to
-
JDK-4338004 In Windows and Solaris, printjob pops up only the native dialog.
-
- Closed
-