SHARE
TWEET

tictactoeDriver.java

darkhelmet125 Oct 12th, 2012 39 Never
  1. import javax.swing.JFrame;
  2. //creates window and frame
  3. public class tictactoeDriver
  4. {
  5.     public static void main(String[] args)
  6.     {
  7.         tictactoeFrame myframe = new tictactoeFrame();
  8.         myframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//exits program if window closed
  9.         myframe.setSize(350,300);//size of frame
  10.         myframe.setVisible(true);
  11.     }
  12. }
RAW Paste Data
Top