Reputation: 307
I use this:
TextA.appendText(String)
Is there a way to put the text to the next line?
Upvotes: 3
Views: 26118
Reputation: 11154
String newLine = System.getProperty("line.separator");
Or if you want to have it a bit more direct:
String newLine = "\n";
Append or prepend the new line to your TextArea
to create new lines.
Upvotes: 8