Gets the URL of the document in which this applet is embedded. For example, suppose an applet is contained within the document:
The document base is:http://www.oracle.com/technetwork/java/index.html
http://www.oracle.com/technetwork/java/index.html
java.net.URL
of the document that contains this
applet.
java.applet.Applet.getCodeBase()
Diagram: java.applet