Q: How can we change the default color of a text annotation? It’s always red.

A: There is a package called com.qoppa.pdfNotes.settings that contains classes allowing to change the default behavior of all our annotations tools.

So for instance, to set the default color for the free text annotation (also called typewriter annotation), you would call

// the methods are static and the value will be used next time the tool is being used
// change default text color 
// change default border color
// change default fill / background color