import javax.swing.JFrame; //creates window and frame public class tictactoeDriver { public static void main(String[] args) { tictactoeFrame myframe = new tictactoeFrame(); myframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//exits program if window closed myframe.setSize(350,300);//size of frame myframe.setVisible(true); } }