< prev index next >

src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java

Print this page

        

*** 147,157 **** --- 147,163 ---- * @param applet The applet. * @return JSObject representing the window containing the given applet or * {@code null} if we are not connected to a browser. * @throws JSException when an error is reported from the browser or * JavaScript engine or if applet is {@code null} + * + * @deprecated The Applet API is deprecated. See the + * <a href="../../../../../../api/java/applet/package-summary.html"> java.applet package documentation</a> + * for further information. */ + + @Deprecated(since = "9", forRemoval = true) public static JSObject getWindow(Applet applet) throws JSException { return ProviderLoader.callGetWindow(applet); } private static class ProviderLoader {
< prev index next >