162
If you simply want to print a newline in the console you can use \n for newlines.
If you want to break text in Swing components you can use HTML and its <br>:
String str = "<html>first line<br>second line</html>";