diff --git a/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/WatermarkTextDocumentWorker.java b/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/WatermarkTextDocumentWorker.java index c781a437..b8515d87 100644 --- a/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/WatermarkTextDocumentWorker.java +++ b/doc-factory-test/src_test/ch/ivyteam/ivy/addons/docfactory/WatermarkTextDocumentWorker.java @@ -53,7 +53,7 @@ private void makeWatermarkText(Document doc, @SuppressWarnings("hiding") String // Text will be directed from the bottom-left to the top-right corner. watermark.setRotation(-40); // Remove the following two lines if you need a solid black text. - watermark.getFill().setColor(Color.LIGHT_GRAY); // Try LightGray to get more + watermark.getFill().setForeColor(Color.LIGHT_GRAY); // Try LightGray to get more // Word-style watermark watermark.setStrokeColor(Color.LIGHT_GRAY); // Try LightGray to get more // Word-style watermark