jdk/src/share/classes/java/applet/Applet.java
changeset 20455 f6f9a0c2796b
parent 14342 8435a30053c1
child 21957 97758de70fbd
equal deleted inserted replaced
20454:d332fc10731f 20455:f6f9a0c2796b
   141     /**
   141     /**
   142      * Gets the URL of the document in which this applet is embedded.
   142      * Gets the URL of the document in which this applet is embedded.
   143      * For example, suppose an applet is contained
   143      * For example, suppose an applet is contained
   144      * within the document:
   144      * within the document:
   145      * <blockquote><pre>
   145      * <blockquote><pre>
   146      *    http://java.sun.com/products/jdk/1.2/index.html
   146      *    http://www.oracle.com/technetwork/java/index.html
   147      * </pre></blockquote>
   147      * </pre></blockquote>
   148      * The document base is:
   148      * The document base is:
   149      * <blockquote><pre>
   149      * <blockquote><pre>
   150      *    http://java.sun.com/products/jdk/1.2/index.html
   150      *    http://www.oracle.com/technetwork/java/index.html
   151      * </pre></blockquote>
   151      * </pre></blockquote>
   152      *
   152      *
   153      * @return  the {@link java.net.URL} of the document that contains this
   153      * @return  the {@link java.net.URL} of the document that contains this
   154      *          applet.
   154      *          applet.
   155      * @see     java.applet.Applet#getCodeBase()
   155      * @see     java.applet.Applet#getCodeBase()