AlistairMonkeyFinger
Programmer
Hi all,
just a quick question, i'm writing a GUI that the user can launch using Java Web Start (not that i think that makes any difference here) and i want a pane containing a number of labels next to a number of text fields containing data (easy so far). What i want is the labels to actually be a hyperlink so the user can click on them to launch their web browser and view some description of what the data means. These documents are stored elsewhere on a web server somewhere so it's just a hyperlink. So how do i go about acheiving this ? My thought was could you do it with a JTextField and simply use some HTML, or if this doesn't work then use a label and add a mouse listener for a click then somehow launch their browser that way ??
thanks for any ideas / advice
Alistair
just a quick question, i'm writing a GUI that the user can launch using Java Web Start (not that i think that makes any difference here) and i want a pane containing a number of labels next to a number of text fields containing data (easy so far). What i want is the labels to actually be a hyperlink so the user can click on them to launch their web browser and view some description of what the data means. These documents are stored elsewhere on a web server somewhere so it's just a hyperlink. So how do i go about acheiving this ? My thought was could you do it with a JTextField and simply use some HTML, or if this doesn't work then use a label and add a mouse listener for a click then somehow launch their browser that way ??
thanks for any ideas / advice
Alistair