final double x = available.getX();
final double y = available.getY();
final float width = (float) available.getWidth();
final TextBlock block = TextUtilities.createTextBlock(
this.text, this.font, Color.black, width, new G2TextMeasurer(g2)
);
g2.setPaint(Color.black);
block.draw(g2, (float) x, (float) y, TextBlockAnchor.TOP_LEFT, 0.0f, 0.0f, 0.0);
}