I have a String on a JOptionPane dialog using the following html:
String email= "<html>" + "<html><b>John Smith" + "\n<html><a href=mailto:john@smith.com>john@smith.com</a>";
This highlights the email address in blue with an underline as one would expect in html, but I thought it would be clickable, opening the default mail client with a new message using the email address provided, but it does nothing.
Is there a way to do this?