Implementation of Browser that delegates to Eric Albert's BrowserLauncher.
We supply this Browser implementation as a free service to all Applicet users.
You are allowed to modify this source code, provided you move the class out of
the be.arci package hierarchy.
showDocument(Framework application,
java.net.URL urlDocument,
java.lang.String sTarget)
Shows the document at the given URL in the Browser window or HTML frame indicated by sTarget.
Shows the document at the given URL in the Browser window or HTML frame indicated by sTarget.
This code is called by an Applicet application's getAppletContext().showDocument(URL url),
with sTarget = "_top" supplied as default,
and by getAppletContext().showDocument(URL url, String sTarget).
The sTarget argument is interpreted as follows:
"_self"
Not applicable when running as application; acts the same as _top.
"_parent"
Not applicable when running as application; acts the same as _top.
"_top"
Show in the top-level frame of the current Browser window.
"_blank"
Show in a new, unnamed top-level window.
name
Show in the frame or window named name. If a target named
name does not already exist, a new top-level window with the
specified name is created, and the document is shown there.
Implementers may simply ignore the complete showDocument request
(as per the java.applet.Applet.AppletContext specs!) or the sTarget argument.