Menu

#87 StandardDrawingView -> Printing

open
nobody
None
5
2003-09-21
2003-09-21
No

Hi,

the #drawAll(Graphics g) method should also test for
java.awt.print.PrinterGraphics such as shown in the
following code-sequence:

public void drawAll(Graphics g) {
boolean isPrinting = g instanceof PrintGraphics
/* BUG FIX */
|| g instanceof java.awt.print.PrinterGraphics;
...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB