title: Eclipse ignores applet code
body: <p>Trying to write and run applets in Java using Eclipse Neon. Here is a very simple example from Schildt (2012): </p>
  
  <pre><code>import java.awt.*;
  import java.applet.*;
  /*
  &lt;applet code="SimpleApplet" width=200 height=60&gt;
  &lt;/applet&gt;
  */
  public class SimpleApplet extends Applet{
  
      public void paint (Graphics g) {
          g.drawString("Simple Applet Test", 20, 60);
      }
  
   }
  </code></pre>
  
  <p>Now, Eclipse does start the applet, but ignores the html applet code inserted under comment. In the example above it disregards the height and width; in other examples it is indifferent to any applet parameter between /* and */. When I run the same class in Linux terminal using appletviewer , everything is fine.</p>
  
  <p>In case anyone is wondering why I want to learn applets ("in 2016"), that's because Schildt said to do so first, and I trust him because his book has been quite helpful so far. Thanks in advance for bona fide help.</p>