--- old/src/java.desktop/share/classes/javax/swing/JApplet.java 2016-05-12 18:33:42.948066600 -0700 +++ new/src/java.desktop/share/classes/javax/swing/JApplet.java 2016-05-12 18:33:42.248045600 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -92,7 +92,11 @@ * * @author Arnaud Weber * @since 1.2 - */ + * + * @deprecated As of JDK 9, the Applet API is deprecated, no replacement. +*/ + +@Deprecated(since = "9") @JavaBean(defaultProperty = "JMenuBar", description = "Swing's Applet subclass.") @SwingContainer(delegate = "getContentPane") @SuppressWarnings("serial") // Same-version serialization only