Turns out the SquareAnnotationhandler implementation was not quite complete and when the system property org.icepdf.core.views.page.annotation.squareCircle.fill.color is used nothing will happen. I've made a few code changes to insure the property will be respected. The first is the addition of the boolean system property org.icepdf.core.views.page.annotation.squareCircle.fill.enabled which is false by default. So in order to enable a black filled box by default the following system properties should be used.
org.icepdf.core.views.page.annotation.squareCircle.stroke.color=#000000
org.icepdf.core.views.page.annotation.squareCircle.fill.enabled = true
org.icepdf.core.views.page.annotation.squareCircle.fill.color=#000000
A news system property, org.icepdf.core.views.page.annotation.squareCircle.stroke.width=3.0 has been added to change the default stroke width.
Turns out the SquareAnnotationhandler implementation was not quite complete and when the system property org.icepdf.core.views.page.annotation.squareCircle.fill.color is used nothing will happen. I've made a few code changes to insure the property will be respected. The first is the addition of the boolean system property org.icepdf.core.views.page.annotation.squareCircle.fill.enabled which is false by default. So in order to enable a black filled box by default the following system properties should be used.
org.icepdf.core.views.page.annotation.squareCircle.stroke.color=#000000
org.icepdf.core.views.page.annotation.squareCircle.fill.enabled = true
org.icepdf.core.views.page.annotation.squareCircle.fill.color=#000000
A news system property, org.icepdf.core.views.page.annotation.squareCircle.stroke.width=3.0 has been added to change the default stroke width.