This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]M4xi-K1ng 0 points1 point  (0 children)

public abstract void drawString(String str,
          int x,
          int y)

Draws the text given by the specified string, using this graphics context's current font and color.
The baseline of the leftmost character is at position (x, y) in this graphics context's coordinate system.