< prev index next >

src/java.desktop/share/classes/java/beans/AppletInitializer.java

Print this page

        

*** 28,52 **** import java.applet.Applet; import java.beans.beancontext.BeanContext; /** - * <p> * This interface is designed to work in collusion with java.beans.Beans.instantiate. * The interface is intended to provide mechanism to allow the proper * initialization of JavaBeans that are also Applets, during their * instantiation by java.beans.Beans.instantiate(). - * </p> * * @see java.beans.Beans#instantiate * * @since 1.2 * */ ! ! ! @SuppressWarnings("deprecation") public interface AppletInitializer { /** * <p> * If passed to the appropriate variant of java.beans.Beans.instantiate --- 28,51 ---- import java.applet.Applet; import java.beans.beancontext.BeanContext; /** * This interface is designed to work in collusion with java.beans.Beans.instantiate. * The interface is intended to provide mechanism to allow the proper * initialization of JavaBeans that are also Applets, during their * instantiation by java.beans.Beans.instantiate(). * * @see java.beans.Beans#instantiate * * @since 1.2 * + * @deprecated The Applet API is deprecated. See the + * <a href="../applet/package-summary.html"> java.applet package + * documentation</a> for further information. */ ! @Deprecated(since = "9") public interface AppletInitializer { /** * <p> * If passed to the appropriate variant of java.beans.Beans.instantiate
*** 72,82 **** * * @param newAppletBean The newly instantiated JavaBean * @param bCtxt The BeanContext intended for this Applet, or * null. */ - void initialize(Applet newAppletBean, BeanContext bCtxt); /** * <p> * Activate, and/or mark Applet active. Implementors of this interface --- 71,80 ----
*** 84,91 **** * method. * </p> * * @param newApplet The newly instantiated JavaBean */ - void activate(Applet newApplet); } --- 82,88 ----
< prev index next >