MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / Main

Class Main

Programs/Games/peg-solitaire/Main.java:8–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7*/
8public class Main{
9 public static void main(String args[]){
10 //Creating game object
11 PegSolitaire game = new PegSolitaire();
12
13 //exit when frame is closed
14 game.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
15
16 //setting beginning size
17 game.setSize(1000, 300);
18
19 //make frame visible
20 game.setVisible(true);
21 }
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected