![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 4
![]() |
drawString size?
I am creating my own button class in an applet, and I'm planning to use the g.drawString() method, but I need to know the size of the text when it's drawn to know how big to draw the border around it. Are there any methods that return the size a given string would be if it were to be drawn?
|
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|