In the comments I saw this post, which was the resolution to the problem.
"For me it's not clear. When you want to draw an int, then you can do g.drawSting(String.valueOf(theInt), x, y) - what's wrong with that?" – Marco13 Mar 5 at 22:42
Thank you for the post Marco13! Really helped me!