Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Carson forte
Added: Nov 26, 2018 4:06 PM
Views: 1
Tags: jframe
the stuff ya gotta do to have a box
  1. JFrame window=new JFrame();
  2. window.setSize(1000,666);
  3. window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  4.  
  5. window.setVisible(true);