Re: How to start default browser when clicking on a label




Helmut Tessarek のメッセージ:

> Hi,
>
> I was wondering how I can implement a JLabel that references to a http link.
> When I click that label the default browser should open and loading the webpage.
> This is for a JDialog 'About' window.
> I've seen this several times, but I've no idea how to implement this with
> Java/Swing.
>
> Regards,
> Helmut
java.awt.Desktop#browse(URI) since JDK 1.6.

.



Relevant Pages

  • Re: How to start default browser when clicking on a label
    ... I was wondering how I can implement a JLabel that references to a http link. ... When I click that label the default browser should open and loading the webpage. ...
    (comp.lang.java.gui)
  • Re: merge using excel
    ... (I found several references to working with labels, ... If you really need to use a label type merge, then you do have to copy the ... "Peter Jamieson" wrote: ... What version of Excel was the Workbook created in? ...
    (microsoft.public.word.mailmerge.fields)
  • Re: List referencing
    ... when showanswers if true, the references are wrong. ... the bold number label --- but what?! ... preamble, ...
    (comp.text.tex)
  • Re: xr (external references) with identifiable ef format
    ... distinguishable from ordinary references to same-document references. ... be used and before applying the reference-command on the label ... % - did not come from an external document at all / was undefined ... % - come from an external document which was imported with prefix ...
    (comp.text.tex)
  • Re: Any way to directly save a figure as a pdf file?
    ... I would need to create a copy of the old aux file before it ... is written for the current typesetting stage and grab the label from ... provide an automated detection of label changes means that user will ... external references in figure jobs. ...
    (comp.text.tex)