title: \t and \n in a String variable does not display in JOptionPane.showMessageDialog
body: <p>I am trying to accumulate a String in a variable but the tab and newline does not take effect.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>String message = "";
  
  for(int i=1; i&lt;=5; i++)
  {
      message += i +"\t";
  }
  
  JOptionPane.showMessageDialog(null, message);
  </code></pre>
  
  <p>It only displays:</p>
  
  <pre><code>1 2 3 4 5 
  </code></pre>
  
  <p>instead of having tabs between the numbers</p>