Java create jframe

import javax.swing.JFrame;
 
public class example {
  public static void main(String[] args){
    JFrame frame = new JFrame();
    frame.setSize(120,80);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOES);
    frame.setTitle("Create JFrame Example");
    frame.setVisible(true);
  }
}
Content Protection by DMCA.com
Please Share