< prev index next >

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

Print this page

        

*** 26,36 **** import java.net.URL; /** * When an applet is first created, an applet stub is attached to it ! * using the applet's <code>setStub</code> method. This stub * serves as the interface between the applet and the browser * environment or applet viewer environment in which the application * is running. * * @author Arthur van Hoff --- 26,36 ---- import java.net.URL; /** * When an applet is first created, an applet stub is attached to it ! * using the applet's {@code setStub} method. This stub * serves as the interface between the applet and the browser * environment or applet viewer environment in which the application * is running. * * @author Arthur van Hoff
*** 38,52 **** * @since 1.0 */ public interface AppletStub { /** * Determines if the applet is active. An applet is active just ! * before its <code>start</code> method is called. It becomes ! * inactive just before its <code>stop</code> method is called. * ! * @return <code>true</code> if the applet is active; ! * <code>false</code> otherwise. */ boolean isActive(); /** --- 38,52 ---- * @since 1.0 */ public interface AppletStub { /** * Determines if the applet is active. An applet is active just ! * before its {@code start} method is called. It becomes ! * inactive just before its {@code stop} method is called. * ! * @return {@code true} if the applet is active; ! * {@code false} otherwise. */ boolean isActive(); /**
*** 83,98 **** * &lt;applet code="Clock" width=50 height=50&gt; * &lt;param name=Color value="blue"&gt; * &lt;/applet&gt; * </pre></blockquote> * <p> ! * then a call to <code>getParameter("Color")</code> returns the ! * value <code>"blue"</code>. * * @param name a parameter name. * @return the value of the named parameter, ! * or <tt>null</tt> if not set. */ String getParameter(String name); /** * Returns the applet's context. --- 83,98 ---- * &lt;applet code="Clock" width=50 height=50&gt; * &lt;param name=Color value="blue"&gt; * &lt;/applet&gt; * </pre></blockquote> * <p> ! * then a call to {@code getParameter("Color")} returns the ! * value {@code "blue"}. * * @param name a parameter name. * @return the value of the named parameter, ! * or {@code null} if not set. */ String getParameter(String name); /** * Returns the applet's context.
< prev index next >