how can i create a weblink in my java program. I tried adding a weblink in JLabel usign the html tags:
JLabel wwwLink = new JLabel("<html><a href=\"http://www.domain.com\">my link</a></html>");
panel.add(wwwLink);
But the text came out blue as if it were a link, but nothing happens when you click on it.
I just want a JLabel to tell the os to visit a website and then let the os take it from there