public SudokuGame(){
		File f = new File("Sudoku.sudoku");
		Scanner sc = null;
		try{
			sc = new Scanner(f);
		}
		catch (FileNotFoundException e){
			e.printStackTrace();
			System.out.println("File doesn't exist");
			System.exit(1);
		}
		Color c = Color.BLACK;
		for (int i=0;i<9;i++){
			for (int j=0;j<9;j++){
				String temp=sc.next();
				if (temp.equals("_")) temp="";
				gameGrid[i][j]=new GenericButton(c, "sudoku", temp);
			}
		}
		for (int i=0;i<9;i++){
			this.setConstraint(0,i,9,1);
		}
		for (int i=0; i<9;i++){
			this.setConstraint(i,0,1,9);
		}

		for (int i=0; i<9;i+=3){
			for (int j=0; j<9;j+=3){
				this.setConstraint(i,j,3,3);
			}
		}

	}