title: Java applet in JDK1.9
body: <p>I want to know how to fix the warning which I get whenever I run applet code. Currently I m using jdk 1.9 version.</p>
  
  <p>The warning which I get on running applet code is:</p>
  
  <pre><code>Warning: Applet API and AppletViewer are deprecated.
  </code></pre>