title: how can i change color of string in Message Box?
body: <p>How can i change <code>color</code> of <code>String</code> in <code>Message Box</code>?</p>
  
  <pre><code>String patientname="ABC";
  JOptionPane.showMessageDialog(null, "Patient "+patientname+" Already Assigned");
  </code></pre>
  
  <p>In above code i want to change color of <code>patientname</code>.</p>