On Sun, 15 Oct 2000, Nicolas Raitman wrote:

> Suppose that I have a web page with an applet on it. If the applet has a
> button, how can I make this button to call another web page. I mean, I know
> the method of the ActionListener, I just want to know how to call another
> page that will contain another applet.

Try:

getAppletContext().showDocument(URL, target)

Where URL is a URL and target is the target frame (or "_top", "_blank",
etc.)

That's how it worked in Java 1 and it still works now. There may be
another way though. If there is I'd be interested to know as well.

-- 
Save the whales. Collect the whole set.
[EMAIL PROTECTED]        http://homepage.ntlworld.com/pogden


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to