// XYTextAnnotation annotation2 = new XYTextAnnotation(
// "P_",1.2308508E12, 16.3);
for (Iterator iterator = annotations.keySet().iterator(); iterator.hasNext();) {
String annotationCode = (String) iterator.next();
AnnotationBlock annotationBlock=annotations.get(annotationCode);
XYTextAnnotation xyAnnotation = new XYTextAnnotation(
annotationBlock.getAnnotation(),annotationBlock.getXPosition()+ANNOTATION_HEIGHT, annotationBlock.getYPosition());
if(styleAnnotation!=null){
xyAnnotation.setFont(new Font(styleAnnotation.getFontName(),Font.BOLD,styleAnnotation.getSize()));
xyAnnotation.setPaint(styleAnnotation.getColor());
}
else{