-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.3.0
-
sparc
-
solaris_2.6
Platform: Win32 and Solaris
The Graphics Object passed to the print method of the printable interface (java.awt.print) is not implementing the PrinterGraphics interface.
According to the java 2SE v1.3 documentation, the Graphics Object passed into the print method of the Printable interface should be implementing the PrinterGraphics interface of java.awt.print package such that the getPrinterJob() of the PrinterGraphics interface is available in graphics object. PrinterJob controlling a particular print operation can be retrieved in the print method itself from the graphics object.
How To reproduce--->
Compile the SimplePrint.java.If you find a compilation error in the command prompt ,then the bug is reproduced.
sunitha.elango@eng 2000-04-25
The Graphics Object passed to the print method of the printable interface (java.awt.print) is not implementing the PrinterGraphics interface.
According to the java 2SE v1.3 documentation, the Graphics Object passed into the print method of the Printable interface should be implementing the PrinterGraphics interface of java.awt.print package such that the getPrinterJob() of the PrinterGraphics interface is available in graphics object. PrinterJob controlling a particular print operation can be retrieved in the print method itself from the graphics object.
How To reproduce--->
Compile the SimplePrint.java.If you find a compilation error in the command prompt ,then the bug is reproduced.
sunitha.elango@eng 2000-04-25