marker.getLabelTextAnchor());
g2.setPaint(marker.getLabelBackgroundColor());
g2.fill(rect);
g2.setPaint(marker.getLabelPaint());
TextUtilities.drawAlignedString(label, g2,
<BUG>(float) coordinates.getX(), (float) coordinates.getY(),
marker.getLabelTextAnchor());</BUG>
}
g2.setComposite(savedComposite);
<BUG>}
else if (marker instanceof IntervalMarker) {
</BUG>
IntervalMarker im = (IntervalMarker) marker;

marker.getLabelTextAnchor());
g2.setPaint(marker.getLabelBackgroundColor());
g2.fill(rect);
g2.setPaint(marker.getLabelPaint());
TextUtilities.drawAlignedString(label, g2,
(float) coords.getX(), (float) coords.getY(),
marker.getLabelTextAnchor());
}
g2.setComposite(savedComposite);
} else if (marker instanceof IntervalMarker) {
IntervalMarker im = (IntervalMarker) marker;
