title: I can't run my applet program on browser why?
body: <p>Just want to try running applet on my browser, so I made a simple program:</p>
  
  <pre><code>import java.awt.*;
  import javax.swing.*;
  
  public class NotHelloWorldApplet extends JApplet {
      public void init() {
          EventQueue.invokeLater(new Runnable() {
              public void run() {
                  JLabel label = new JLabel("Hello World applet",    SwingConstants.CENTER);
                  add(label);
              }
          });
      }
  }
  </code></pre>
  
  <p>And here is my HTML file:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt; Hello World Applet&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;applet code=“HelloWorldApplet.class” width=“300” height=“300”&gt;
          &lt;/applet&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And here is my browser configuration:
  <a href="https://i.stack.imgur.com/RPzcM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RPzcM.jpg" alt="Java plugins"></a></p>
  
  <p>Everything looks great, but when I run my HTML file, it doesn't work. It simply show the content:
  <a href="https://i.stack.imgur.com/Qph8f.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qph8f.jpg" alt="Applets"></a></p>
  
  <p>I can view it on Eclipse, just cannot view it on the browser. Is there anything I made it wrong?</p>