title: How to set the location of "JOptionPane.showMessageDialog"
body: <p>I want to make <code>JOptionPane.showMessageDialog</code> message appear </p>
  
  <ul>
  <li>Any place in the screen.</li>
  <li>Relative to JFrame. (not at the centre of the JFrame)</li>
  </ul>
  
  <p>For example this will display the message at the centre of the JFrame provided as argument <code>thisFrame</code></p>
  
  <pre><code> JOptionPane.showMessageDialog(thisFrame, "Your message.");
  </code></pre>
  
  <p>And this will display the message at the centre of the screen irrelative to any JFrame.</p>
  
  <pre><code>JOptionPane.showMessageDialog(null, "Your message.");
  </code></pre>
  
  <ul>
  <li><p>what I want is to set the location of the message any place I want</p></li>
  <li><p>what I want is to set the location of the message relative to the JFrame (not at the centre of the JFrame)</p></li>
  </ul>
  
  <p>How?</p>