J
jakester
I have to draw (using Graphics or Graphics2D) a rectangle around a
String. How do I get the width and height of a String to draw a
rectangle around it? It seems there are many factors (i.e. Font/Face).
A simple example would help me.
Thanks.
String. How do I get the width and height of a String to draw a
rectangle around it? It seems there are many factors (i.e. Font/Face).
A simple example would help me.
Thanks.