code.dreamsense.com

Create a frame

  import javax.swing.JFrame;

  public class Frame {
    public static void main(String[] args) {
      JFrame frame = new JFrame();
      frame.setSize(400,400);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.setVisible(true);
    }
  }

Kyle Eggleston
kyle@dreamsense.com
Copyright © 2003 - 2020