|
|
|
@ -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); |
|
|
|
|
new WatermarkPainter().paint(watermark, g2d, this.getWidth(), this.getHeight()); |
|
|
|
|
new WatermarkPainter(watermark).paint(g2d, this.getWidth(), this.getHeight()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|