Article View: borland.public.jbuilder.java.language
Article #18460Re: showDocument - usage
From: Guenter Wildmann
Date: Tue, 23 Jun 1998 00:00
Date: Tue, 23 Jun 1998 00:00
21 lines
1034 bytes
1034 bytes
On Tue, 23 Jun 1998 16:49:37, guenter@netz.at (Guenter Wildmann)
wrote:
> How do I use the showDocument method?
>
> The following does not work:
> URL tmpU;
> try
> {
> tmpU = new URL("http://goofy.wildnet/index.html");
> }
> catch (MalformedURLException er)
> {
> System.out.println("Ungueltige URL!");
> }
> showDocument(tmpU,"_blank");
The answer is:
getAppletContext().showDocument(tmpU,"_blank");
Ciao, Guenter
Technical Details
Message-ID:
<l4vd0VMOfLgB-pn2-yoixm9TzHyDX@localhost>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<l4vd0VMOfLgB-pn2-ZdhDlkXw9Ndb@localhost>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,777a3c55febe10dc X-Google-Attributes: gidf74b3,public From: guenter@netz.at (Guenter Wildmann) Subject: Re: showDocument - usage Date: 1998/06/23 Message-ID: <l4vd0VMOfLgB-pn2-yoixm9TzHyDX@localhost> X-Deja-AN: 365456697 Content-Transfer-Encoding: 8bit References: <l4vd0VMOfLgB-pn2-ZdhDlkXw9Ndb@localhost> Content-Type: text/plain; charset="us-ascii" Organization: netz.at Mime-Version: 1.0 Reply-To: guenter@netz.at Newsgroups: borland.public.jbuilder.java.language