A printing error dialog is shown asking the user to install a printer when the user tries to popup the print dialog without having a printer installed in the system. The error message tells the user to install the printer first before trying any print operation. In the PIT build, this dialog is shown twice when PrinterJob.printDialog() is called. I tested this with Tiger build 1.5.0-b04 and this dialog is shown only once when printDialog() method is called. I tested this on Windows 2000.
Here is the version of the PIT build:
java version "Build:15-Apr-03@19:54.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build Build:15-Apr-03@19:54.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)
How to reproduce:
I have attached a sample code which would popup a print dialog by calling PrinterJob.printDialog(). Execute it on a windows system which does not have a printer installed in it. I have also attached the screenshot of the dialog shown.