diff --git a/pdf/PGraphicsPDF.java b/pdf/PGraphicsPDF.java index 9ca4fdae6..08c01ac72 100644 --- a/pdf/PGraphicsPDF.java +++ b/pdf/PGraphicsPDF.java @@ -224,6 +224,13 @@ public class PGraphicsPDF extends PGraphics2 { } + /** + * Don't open a window for this renderer, it won't be used. + */ + public boolean displayable() { + return false; + } + /* protected void finalize() throws Throwable { System.out.println("calling finalize");