forked from mlburggr/checkers_finalproject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCheckersDriver.java
More file actions
44 lines (39 loc) · 1.26 KB
/
Copy pathCheckersDriver.java
File metadata and controls
44 lines (39 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/******************************************
*
* Official Name: Maxwell Burggraf
*
* Nickname: Max
*
* E-mail: mlburggr@syr.edu
*
* Final Project: 2-player checkers game
*
* Compiler: drJava on a pc
*
* Date: Dec. 2, 2013
*
*******************************************/
import java.io.IOException;
import java.awt.image.BufferedImage;
import java.io.File;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
import java.awt.*;
import javax.swing.*;
import javax.swing.JFrame;
public class CheckersDriver
{
public static void main(String[] args)
{
//GUI1
JFrame title = new JFrame("Checkers");
title.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
TitlePanel main = new TitlePanel();
title.getContentPane().add(main);
title.pack();
title.setVisible(true);
title.setBackground(Color.black);
title.setResizable(false);
}
}