Re: How to start default browser when clicking on a label
- From: Helmut Tessarek <tessarek@xxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 10:07:10 +0100
Hi IchBin,
IchBin wrote:
> There is a free Java program out there called BrowserLauncher. It is
> free for commercial and non-commercial use, and may be modified nearly
> to your heart's content.
>
> Find at http://browserlauncher.sourceforge.net/
>
> Here is how I have invoked it under a button.
>
> private void jLinkButton_actionPerformed() {
> try {
> BrowserLauncher.openURL(AppData.getOpenLink());
> System.out.println("BrowserLauncher.openURL(" +
> AppData.getOpenLink() + ")");
> } catch (IOException e) {
> AppError.errorMessage(e);
> }
> }
Thanks. Sounds good. I will have a look at sf.
Thanks again,
Helmut
.
- References:
- How to start default browser when clicking on a label
- From: Helmut Tessarek
- Re: How to start default browser when clicking on a label
- From: IchBin
- How to start default browser when clicking on a label
- Prev by Date: Re: close a window
- Next by Date: Re: How to start default browser when clicking on a label
- Previous by thread: Re: How to start default browser when clicking on a label
- Next by thread: Re: How to start default browser when clicking on a label
- Index(es):