From aa786003a819057fd012922370f00bbfed527b07 Mon Sep 17 00:00:00 2001 From: plough Date: Thu, 24 May 2018 14:05:48 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-7222=20=E5=AE=89=E5=85=A8=E6=80=A7?= =?UTF-8?q?=E4=B9=8B=E6=B0=B4=E5=8D=B0=3D>=E8=B0=83=E6=95=B4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/report/WatermarkPreviewPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java b/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java index 086ce569a4..2099b8a093 100644 --- a/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java +++ b/designer-base/src/com/fr/design/report/WatermarkPreviewPane.java @@ -32,6 +32,6 @@ public class WatermarkPreviewPane extends JPanel { super.paint(g); Graphics2D g2d = (Graphics2D)g; g2d.drawImage(UIConstants.WATERMARK_BACKGROUND, 0, 0, this.getWidth(), this.getHeight(), null); - WatermarkPainter.getInstance().paint(watermark, g2d, this.getWidth(), this.getHeight(), true); + new WatermarkPainter().paint(watermark, g2d, this.getWidth(), this.getHeight()); } }