src/share/classes/java/applet/Applet.java

Print this page

        

*** 141,155 **** /** * Gets the URL of the document in which this applet is embedded. * For example, suppose an applet is contained * within the document: * <blockquote><pre> ! * http://java.sun.com/products/jdk/1.2/index.html * </pre></blockquote> * The document base is: * <blockquote><pre> ! * http://java.sun.com/products/jdk/1.2/index.html * </pre></blockquote> * * @return the {@link java.net.URL} of the document that contains this * applet. * @see java.applet.Applet#getCodeBase() --- 141,155 ---- /** * Gets the URL of the document in which this applet is embedded. * For example, suppose an applet is contained * within the document: * <blockquote><pre> ! * http://www.oracle.com/technetwork/java/index.html * </pre></blockquote> * The document base is: * <blockquote><pre> ! * http://www.oracle.com/technetwork/java/index.html * </pre></blockquote> * * @return the {@link java.net.URL} of the document that contains this * applet. * @see java.applet.Applet#getCodeBase()