JDK-4421212 : In Solaris , The Common PrintDialog is poped up when Native dialog is called
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris
  • CPU: generic
  • Submitted: 2001-03-02
  • Updated: 2013-11-05
  • Resolved: 2001-07-19
Related Reports
Relates :  
Description
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. 

Comments
EVALUATION This bug is completely bogus and should be closed out as "not a bug". There is no "native print dialog" on the Solaris O/S, so the implementation needs to use the same dialog in both cases. phil.race@eng 2001-07-18 ========================
18-07-2001