From a9b745bafa8d0230e5f4675d657a015a9a0f0c59 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 30 Jan 2006 16:29:06 +0000 Subject: [PATCH] add displayable() method --- pdf/PGraphicsPDF.java | 7 +++++++ 1 file changed, 7 insertions(+) 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");