* ANNOTATIONS code to create unique icons
*
* this code allows you to create a unique set on icons for any type of annotations, with
* an icons for every annotation, not just types.
*/
FormFactory formfactory = decode_pdf.getFormRenderer().getFormFactory();
//swing needs it to be done with invokeLater
if(formfactory.getType()== FormFactory.SWING){
final Runnable doPaintComponent2 = new Runnable() {
public void run() {
createUniqueAnnotationIcons();