AppletContext.showDocument

AppletContext.showDocument

Interface Overview | Interface Members | This Package | All Packages

Syntax 1
public abstract void showDocument( URL url )
Parameters
url
an absolute URL giving the location of the document.
Description
Replaces the Web page currently being viewed with the given URL. This method may be ignored by applet contexts that are not browsers.



Syntax 2
public abstract void showDocument( URL url, String target )
Parameters
url
an absolute URL giving the location of the document.
target
a String indicating where to display the page.
Description
Requests that the browser or applet viewer show the Web page indicated by the url argument. The target argument indicates where to display the frame. The target argument is interpreted as follows:

"_self" show in the current frame
"_parent"show in the parent frame
"_top" show in the topmost frame
"_blank" show in a new unnamed top-level window
nameshow in a new top-level window named name

An applet viewer or browser is free to ignore showDocument.