< prev index next >

src/java.desktop/share/classes/sun/applet/AppletViewer.java

Print this page

        

@@ -40,11 +40,11 @@
 import sun.awt.AppContext;
 
 /**
  * A frame to show the applet tag in.
  */
-@SuppressWarnings("serial") // JDK-implementation class
+@SuppressWarnings("serial") // JDK implementation class
 final class TextFrame extends Frame {
 
     /**
      * Create the tag frame.
      */

@@ -115,11 +115,11 @@
  * For details on the syntax that <B>appletviewer</B> supports, see
  * <a href="../../../docs/tooldocs/appletviewertags.html">AppletViewer Tags</a>.
  * (The document named appletviewertags.html in the JDK's docs/tooldocs directory,
  *  once the JDK docs have been installed.)
  */
-@SuppressWarnings("serial") // JDK implementation class
+@SuppressWarnings({"serial", "deprecation"}) // JDK-implementation class
 public class AppletViewer extends Frame implements AppletContext, Printable {
 
     /**
      * Some constants...
      */
< prev index next >