Q: When a user annotates a PDF using jPDFNotes, it seems that the author name associated with the comments is the user name from the operating system. How can I pass a different name?

A: By default, jPDFNotes uses the user name as reported by the system, but you can override this by using:

AnnotationTools.setDefaultAuthor(“author name”);

Also, if you don’t want your users to be able to change the author name under the annotation properties dialog, you can disabled editing for this property:

AnnotationTools.setAuthorEditable(false);

The AnnotationTools class is used to customize the annotations tools and can be found in the com.qoppa.pdfNotes.settings package.