🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16583

Re: access URL

#16583
From: Alain LACOUR
Date: Thu, 28 Jan 1999 00:00
23 lines
1071 bytes
Hi,

try this :

URL theNewURL = new URL("http://theSite.com");
getAppletContext().showDocument(theNewURL, target);

where target is from :
"_self" shows in the window fram that contains the applet
"_blank" shows in a new unamed top-level window
name shows in a new top_level window named name

Hope it helps.
Alain Lacour.

George wrote:

> I am currently using JBuilder 2.0 and need to know how to access a URL in my
> code. I need to open another page when someone clicks on a button.
>
> Thanks
>
> George
Technical Details
Message-ID: <36B02B86.595D98C2@mhinformatics.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <78jluu$s0b4@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6c35a9b33af6c05d
X-Google-Attributes: gidf74b3,public
From: Alain LACOUR <alain.lacour@mhinformatics.ch>
Subject: Re: access URL
Date: 1999/01/28
Message-ID: <36B02B86.595D98C2@mhinformatics.ch>
X-Deja-AN: 437872671
Content-Transfer-Encoding: 7bit
References: <78jluu$s0b4@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: M&H Informatics AG
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language