Right now I have a JTextArea, I want to put a paragraph in it. At first it was just displaying the paragraph with one line in the JTextArea, and created scroll bars. I fixed that and got it to jump to the next line once a line in the JTextArea ran out of space.
However now it is cutting off words, say I have the world "black" at the end of the line where it runs out of space, it prints "bl" in the first line and then continues with "ack" at the beginning of the second line. How can I fix this?
Thanks for your time.