-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.3.0
-
x86
-
linux
Tested with j2sdk 1.3.0 Linux beta build b05 on
both of on Redhat6.1J original and upgrade version
Toolkit.getPrintJob() does not provide a print dialog.
To reproduce,
Compile an run an attached test case. (PrintDialogTest.java)
Any print dialog does not appear though "Toolkit.getPrintJob()" is
printed on terminal.
Also With Cricket linux Toolkit.getPrintJob() does not provide a print dialog and NLP Exception occurs.
Exception in thread "main" java.lang.NullPointerException
at sun.awt.motif.UPrintDialog.<init>(UPrintDialog.java:170)
at sun.awt.motif.PSPrintControl$1.run(PSPrintControl.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.motif.PSPrintControl.<init>(PSPrintControl.java:107)
at sun.awt.motif.MToolkit.getPrintJob(MToolkit.java:307)
at PrintDialogTest.run(PrintDialogTest.java:28)
at PrintDialogTest.main(PrintDialogTest.java:9)
- duplicates
-
JDK-4342102 Linux: printDialog does not display full dialog with Enlightenment wm
- Closed