Java: Linebreaks in JLabels?
You can get automatic line break if you set the paragraph width in html.
label.setText("<html><p style=\"width:100px\">"+paragraph+"</p></html>");
Use HTML in setText, e.g.
myLabel.setText("<html><body>with<br>linebreak</body></html>");