JLabel with html link
Hello, I磎 loading a text in a JLabel, somethig like this:
JLabel label =new JLabel(" <html> <a href=\"www.memi.umss.edu.bo/progra\"> Here </a></html> ");
but when I load this in my JFrame, the link is disabled, I know I can handle the mouseEvent, using positions or somethink like that, but I think there is another component to get this link enabled. Please help me
[468 byte] By [
Wilfredoa] at [2007-10-3 5:19:40]

I'm not sure that that would ever work.
If you're writing a Java Applet, then you have access to the "Applet Context" to call
appletContext.showDocument( "start http://www.memi.umss.edu.bo/progra/" );
If you're in a Java application, then it has no idea how to kick off a web browser, so you'd probably have to ask Windows to try and open a browser for you.
Ie. Something like...
Runtime rt = Runtime.getRuntime();
rt.exec ( "start http://www.memi.umss.edu.bo/progra/" );
regards,
Owen
I really appreciate your help, but I have a java browser, what I want is a link over some component (java application not applet) working.Can any body help me.... ?