JTextArea and newLine
I have a JTextArea that wraps the text so the text doesn't go out of bounds. But when the text is then outputed to a text document, there is no newline and the text runs across the whole document, no \n. Is there a method in the JTextArea that automactically implements a new line for when using getText() or do I have to hard code that?

