You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2017/11/25 16:12:00 UTC
svn commit: r1816315 -
/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java
Author: tilman
Date: Sat Nov 25 16:12:00 2017
New Revision: 1816315
URL: http://svn.apache.org/viewvc?rev=1816315&view=rev
Log:
PDFBOX-2852: clarify comment
Modified:
pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java
Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java?rev=1816315&r1=1816314&r2=1816315&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java (original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java Sat Nov 25 16:12:00 2017
@@ -72,7 +72,7 @@ public class CreateSimpleFormWithEmbedde
textBox.setDefaultAppearance(defaultAppearanceString);
acroForm.getFields().add(textBox);
- // Specify the annotation associated with the field
+ // Specify the widget annotation associated with the field
PDAnnotationWidget widget = textBox.getWidgets().get(0);
PDRectangle rect = new PDRectangle(50, 700, 200, 50);
widget.setRectangle(rect);