private void draw(final ExecutionUnit process,final Graphics2D g2,final ProcessRendererModel rendererModel,final boolean printing){
  if (!visualizer.isActive()) {
    return;
  }
  WorkflowAnnotations annotations=rendererModel.getProcessAnnotations(process);
  if (annotations != null) {
    for (    WorkflowAnnotation anno : annotations.getAnnotationsDrawOrder()) {
      if (anno.equals(model.getSelected())) {
        continue;
      }
      Graphics2D g2P=(Graphics2D)g2.create();
      drawer.drawAnnotation(anno,g2P,printing);
      g2P.dispose();
    }
  }
}

private void draw ( final ExecutionUnit process , final Graphics2D g2 , final ProcessRendererModel rendererModel , final boolean printing ) { if ( ! visualizer . isActive ( ) ) { return ; } WorkflowAnnotations annotations = rendererModel . getProcessAnnotations ( process ) ; if ( annotations != null ) { for ( WorkflowAnnotation anno : annotations . getAnnotationsDrawOrder ( ) ) { if ( anno . equals ( model . getSelected ( ) ) ) { continue ; } Graphics2D g2P = ( Graphics2D ) g2 . create ( ) ; drawer . drawAnnotation ( anno , g2P , printing ) ; g2P . dispose ( ) ; } } }
draws the background annoations .
