SyntaxFix
Write A Post
Hire A Developer
Questions
Try using System.getProperty("line.separator") to get a new line.
System.getProperty("line.separator")