title: Is there any MultiLine JLabel option?
body: <p>I want to display some text in JLabel at runtime. I just want to know that is there anyway through which the text is displayed on multiple lines. For example, I want my text to be displayed in following format:</p>
  <pre><code>Line 1
  Line 2
  Line 3
  
  String  sText  = &quot;Line1 \n Line2 \n Line3&quot;;
  jLabel1.setText (sText);
  </code></pre>
  <p>I tried the above code but its not working. Am I doing some thing wrong or does JLabel not support said feature?</p>
  <p>If I'm unable to achieve the above functionality, how can I add multiple labels (one for each line) in JPanel at runtime?</p>