--- old/src/java.desktop/share/classes/java/applet/Applet.java 2016-05-13 19:13:44.085156300 -0700 +++ new/src/java.desktop/share/classes/java/applet/Applet.java 2016-05-13 19:13:43.102067500 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -46,7 +46,13 @@ * @author Arthur van Hoff * @author Chris Warth * @since 1.0 + * + * @deprecated The Applet API is deprecated. See the + * java.applet package documentation + * for further information. */ + +@Deprecated(since = "9") public class Applet extends Panel { /** --- old/src/java.desktop/share/classes/java/applet/AppletContext.java 2016-05-13 19:13:51.505823300 -0700 +++ new/src/java.desktop/share/classes/java/applet/AppletContext.java 2016-05-13 19:13:50.532756000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -44,7 +44,13 @@ * * @author Arthur van Hoff * @since 1.0 + * + * @deprecated The Applet API is deprecated. See the + * java.applet package documentation + * for further information. */ + +@Deprecated(since = "9") public interface AppletContext { /** * Creates an audio clip. --- old/src/java.desktop/share/classes/java/applet/AppletStub.java 2016-05-13 19:13:55.913075000 -0700 +++ new/src/java.desktop/share/classes/java/applet/AppletStub.java 2016-05-13 19:13:55.032012400 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,7 +36,13 @@ * @author Arthur van Hoff * @see java.applet.Applet#setStub(java.applet.AppletStub) * @since 1.0 + * + * @deprecated The Applet API is deprecated. See the + * java.applet package documentation + * for further information. */ + +@Deprecated(since = "9") public interface AppletStub { /** * Determines if the applet is active. An applet is active just --- old/src/java.desktop/share/classes/java/applet/AudioClip.java 2016-05-13 19:14:00.302320900 -0700 +++ new/src/java.desktop/share/classes/java/applet/AudioClip.java 2016-05-13 19:13:59.465272700 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 1997, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,7 +33,13 @@ * * @author Arthur van Hoff * @since 1.0 + * + * @deprecated The Applet API is deprecated. See the + * java.applet package documentation + * for further information. */ + +@Deprecated(since = "9") public interface AudioClip { /** * Starts playing this audio clip. Each time this method is called, --- old/src/java.desktop/share/classes/java/applet/package.html 2016-05-13 19:14:04.354523600 -0700 +++ new/src/java.desktop/share/classes/java/applet/package.html 2016-05-13 19:14:03.584485100 -0700 @@ -39,6 +39,11 @@ applets. For example, the applet context could be a Web browser or an applet development environment.

+The APIs in this package are all deprecated. Alternative technologies such as Java Web Start +or installable applications should be used instead. See JEP 289 +and the Oracle White Paper +"Migrating from Java Applets to plugin-free Java technologies" for more information. +