title: Swing JDialog/JTextPane and HTML links
body: <p>I am using an html page inside a swing <code>JTextPane</code> in a JDialog.<br>
  In the html I have a <code>&lt;a href="mailto:email@adress.com"&gt;John&lt;/a&gt;</code><br>
  When I view the web page via an explorer when the mouse goes to the link I can see the <code>mailto</code>.<br>
  When I press the link I get the error "no default mail client installed", but I guess this is due to in my PC I have not configured Outlook or some other program.<br>
  When I open the JDialog from my Swing application, I see <code>John</code> highlighted as a link, but when I press the link nothing happens.<br>
  I was expecting to get the same error message as the browser.<br>
  So my question is can the link be opened via a Swing application or not?  </p>
  
  <p>Thanks</p>