@param g Graphics context. @return the width of the parsed text.
(Graphics g)
| 439 | * @return the width of the parsed text. |
| 440 | */ |
| 441 | public int getWidth(Graphics g) { |
| 442 | parseText(g); |
| 443 | return width; |
| 444 | } |
| 445 | |
| 446 | /** |
| 447 | * @param g Graphics context. |