I have this code:
String message = <html><a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a></html>
JOptionPane.showMessageDialog(null,
message,
"Error",
JOptionPane.ERROR_MESSAGE,
new ImageIcon(LeCTo.class.getResource("/images/logo.png")));
And I want when user clicks on the link that an internet browser opens but that is not happening.