0

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.

vale4674
  • 4,161
  • 13
  • 47
  • 72
  • 3
    See: http://stackoverflow.com/questions/8348063/clickable-links-in-joptionpane/8348281#comment10297245_8348281 – camickr Dec 03 '11 at 16:20

1 Answers1

0

To make this question answered, solution is in camickr's comment:

stack.

Community
  • 1
  • 1
vale4674
  • 4,161
  • 13
  • 47
  • 72