SyntaxFix
Write A Post
Hire A Developer
Questions
JLabel is actually capable of displaying some rudimentary HTML, which is why it is not responding to your use of the newline character (unlike, say, System.out).
If you put in the corresponding HTML and used <BR>, you would get your newlines.
<BR>