How do you go about wrapping strings using Graphics2D drawString.
Saw some examples like this drawstring开发者_Go百科 replacement
But this does not work since I have a vertically aligned text and the fontmetrics height from graphics gives me 0.
You can use a JTextArea?
This posting shows how the text area can be sized to fit the text.
精彩评论