i use html text in a JLable as a text for formatting purpose; it works
well but when i use to put hyperlink in that html code it doesn't
became clickable and also don't work.
JLabel lblHelpLink=new JLabel("<html><script>function
hopen(a){window.open('html/village_help.htm','Popup_Window','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=532,height=403')}</script><body>For
help <a href='javascript:hopen('village_help')'>click
here</a></body></html>");
please guide me direction to how to open html page through java code.
Thomas Weidenfeller - 23 Jan 2006 10:06 GMT
> i use html text in a JLable as a text for formatting purpose; it works
> well but when i use to put hyperlink in that html code it doesn't
> became clickable and also don't work.
Don't multipost.
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
Roedy Green - 23 Jan 2006 20:52 GMT
On Mon, 23 Jan 2006 11:06:07 +0100, Thomas Weidenfeller
<nobody@ericsson.invalid> wrote, quoted or indirectly quoted someone
who said :
>Don't multipost
see http://mindprod.com/jgloss/multiposting.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Raymond DeCampo - 23 Jan 2006 15:32 GMT
> i use html text in a JLable as a text for formatting purpose; it works
> well but when i use to put hyperlink in that html code it doesn't
[quoted text clipped - 6 lines]
>
> please guide me direction to how to open html page through java code.
You have to implement hyperlink listening yourself. Look for a class
called HyperlinkListener.
HTH,
Ray

Signature
This signature intentionally left blank.