From 2324bf28946d13abe472720a053be2f8a67fbab8 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:12:39 +0000 Subject: Use mainbar color for Signature overlay git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@197 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-over-gui') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java index 358354e3..e69b735c 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java @@ -342,7 +342,7 @@ public class SignaturePanel extends JPanel { float scale = (((float) this.sigScreenWidth) / this.sigPlaceholder.getWidth(null)) * 150; log.debug(Float.toString(scale)); g_phs.setFont(getFont().deriveFont(scale)); - g_phs.setColor(Color.GRAY); + g_phs.setColor(sigPlaceholderBorderColor); Rectangle2D overlay_size = g_phs.getFontMetrics().getStringBounds(overlay, g_phs); int width = (int) overlay_size.getWidth(); int height = (int) overlay_size.getHeight(); -- cgit v1.2.3