title: Java - cannot extend class?
body: <p>I'm trying to extend <code>java.awt.image.BufferedImage</code> using this code:</p>
  
  <pre><code>import java.awt.image.BufferedImage;
  
  public class FSImage extends BufferedImage {
  
      public FSImage() {
          // empty constructor
      }
  }
  </code></pre>
  
  <p>However, I get some errors: </p>
  
  <pre><code>no suitable constructor found for BufferedImage()
  constructor java.awt.image.BufferedImage.BufferedImage(java.awt.image.ColorModel, java.awt.image.WritableRaster, boolean, java.util.Hashtable&lt;?,?&gt;) is not applicable (actual and formal argument lists differ in length)
  ...
  </code></pre>
  
  <p>What am I doing wrong?</p>