Want more features on Pastebin? Sign Up, it's FREE!
Guest

tictactoeDriver.java

By: darkhelmet125 on Oct 12th, 2012  |  syntax: Java  |  size: 0.38 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data