setTextWrap() and setTextArea() not working as expected, how auto new line and choose where to print text?



  • Hello!
    I'm trying to format strings on screen and I am having some trouble. I want to be able to write to the screen and have it auto new line when the text goes off the end. I also want to provide the position of the text. printf() allows me to auto new line, and drawString() helps me pick where I want to draw. I can't seem to figure out how to do both. I've tried to use both setTextWrap() and setTextArea(), but these don't seem to work as I expected.