-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStartup.java
More file actions
25 lines (19 loc) · 828 Bytes
/
Startup.java
File metadata and controls
25 lines (19 loc) · 828 Bytes
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
/** Class name: Startup
* Author: Nawal M.
* Date Modified: 24/12/2018
* Description: Users input in any data sets and are then able to create different graphs and obtain additional info based off those values
*/
import javax.swing.*;
public class Startup{
public static void main (String [] args){
Graph model = new Graph(); //The game model
GraphGUI mainScreen = new GraphGUI(model); //The game view
//Initialize the Frame
JFrame f = new JFrame("Data Management");
f.setSize(600,150);
f.setLocation(300,200);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setContentPane(mainScreen);
f.setVisible(true);
}
}