title: How to make a red message in Swing JOptionPane?
body: <p>I want to make my error messages red, which are made using Swing:</p>
  
  <pre><code>JOptionPane.showMessageDialog(null,
   "Welcome\nTo\nJava\nProgramming!", "subject", JOptionPane.ERROR_MESSAGE);
  </code></pre>
  
  <p>But this code will show a dialog box with black message, what's the way to make it red?</p>