src/share/classes/java/applet/AppletStub.java

Print this page

        

*** 52,66 **** /** * Gets the URL of the document in which the 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 the * applet. * @see java.applet.AppletStub#getCodeBase() --- 52,66 ---- /** * Gets the URL of the document in which the 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 the * applet. * @see java.applet.AppletStub#getCodeBase()