-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
6u24
-
x86
-
windows_7
FULL PRODUCT VERSION :
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7600]
A DESCRIPTION OF THE PROBLEM :
If you provide a MediaTray attribute to the print dialog from ServiceUI, the dialog doesn't use the media size from the locale. It always uses 'Letter'.
Bonus: If I use the sources from java2s.com to clone the dialog, the combobox displays "DIN A4" as it should.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use ServiceUI.printDialog to get the dialog in an European environment. Provide a MediaTray attribute.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The combobox on the second tab should read A4 (ISO/DI &JIS)
ACTUAL -
The combobox displays 'Letter'
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Clone the ServiceDialog class
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7600]
A DESCRIPTION OF THE PROBLEM :
If you provide a MediaTray attribute to the print dialog from ServiceUI, the dialog doesn't use the media size from the locale. It always uses 'Letter'.
Bonus: If I use the sources from java2s.com to clone the dialog, the combobox displays "DIN A4" as it should.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use ServiceUI.printDialog to get the dialog in an European environment. Provide a MediaTray attribute.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The combobox on the second tab should read A4 (ISO/DI &JIS)
ACTUAL -
The combobox displays 'Letter'
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Clone the ServiceDialog class