🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12756

Re: Open URL in new JFrame

#12756
From: Anne JANSSENS
Date: Fri, 13 Nov 1998 00:00
10 lines
868 bytes
If you're using an applet , as the base of your JFrame, you can open a url
like this :
myapplet.getAppletContext().showDocument(new URL(http://www.whatever.com));

Ref :
void  showDocument(URL url)
Replaces the Web page currently being viewed with the given URL. This method
may be ignored by applet contexts that are not browsers.

Hope It could help you :) Anne
Technical Details
Message-ID: <72gq4l$e5612@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <364B522B.A828E329@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f1db3f7c2544b95a
X-Google-Attributes: gid111d45,public
From: "Anne JANSSENS" <recherche@generix.fr>
Subject: Re: Open URL in new JFrame
Date: 1998/11/13
Message-ID: <72gq4l$e5612@forums.borland.com>
X-Deja-AN: 411385845
References: <364B522B.A828E329@hotmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing