title: Constructor call must be the first statement in a constructor in super()
body: <p>I'm following a guide on how to create a working interface in Java and I've done the code according to the guide yet I get an error saying <code>Constructor call must be the first statement in a constructor</code>, even though it is the first statement.
  I tried multiple solutions so I'm quite lost as none of them worked.</p>
  
  <pre><code>import java.awt.FlowLayout;
  import javax.swing.JFrame;
  import javax.swing.JLabel;
  
  public class test extends JFrame {                  
      private JLabel item1;
      private void test () {
          super ("Title 1"); //error happens here     
        }
  }
  </code></pre>