title: New Line \n is not working in JButton.setText("fnord\nfoo") ;
body: <p>On a JButton, I want to list information on multiple lines. I tried <code>\n</code> as a new line character but it didn't work. The following code:</p>
  
  <pre><code>JButton.setText("fnord\nfoo") ;
  </code></pre>
  
  <p>will be displayed as:</p>
  
  <pre><code>fnordfoo
  </code></pre>
  
  <p>How do I force a line break?</p>