StringBounds of htmlized string

Posted by pavan on Stack Overflow See other posts from Stack Overflow or by pavan
Published on 2010-01-20T00:49:32Z Indexed on 2010/05/14 1:04 UTC
Read the original article Hit count: 394

Filed under:
|

Hi,

Is it possible to calculate the bounds of a htmlized String in Java Swing?

I tried using the BasicHtml.createHTMLView, but kept getting the same prefSpan; irrespective of the component font.

Regards,
Pavan

© Stack Overflow or respective owner

Related posts about java

Related posts about swing