title: Getting Applet not initialized error
body: <p>is everything is right in my programme??<br>
   When i run it the a screen appears but it says that Applet is not initialized</p>
  
  <pre><code>import java.applet.Applet;
  import java.awt.*;
  import javax.swing.*;
  
  public class JobseekerLogin extends Frame {
  
  public void CreateFrame(){
  Frame frame = new Frame("Frame in Java Swing");
  frame.setSize(400, 400);
  frame.setVisible(true);
  Label lb = new Label("Username");
  add("East",lb);
  add("West",new TextArea(""));
  Label lb1 = new Label("Password");
  add("East",lb1);
  add("West",new TextArea(""));
  }
  
  public static void main(String []args){
    JobseekerLogin obj = new JobseekerLogin();
    obj.CreateFrame();
  }
   }
  </code></pre>