|
Relates :
|
If you call g2d.setClip(null) on the printer graphics then draw a transparent image
you get the following exception :-
java.lang.NullPointerException
at sun.awt.windows.WPathGraphics.redrawRegion(WPathGraphics.java:1401)
at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:2143)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1480)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1323)
at ARGB.main(ARGB.java:53)