@Override
						public void widgetSelected(SelectionEvent e) {
							//get Minimax
							if(buttons.getMinimax().getText().contains("Run Minimax")){
								if(hint.getCombo1().getText().toString().contains("7")){
									depth = 7;
								}else{
									depth = Integer.parseInt(hint.getCombo1().getText());
								}
								if(hint.getCombo2().getText().toString().contains("F")){
									hintsNum = Integer.MAX_VALUE;
									buttons.getMinimax().setText("Stop Minimax");
								}else{
									hintsNum = Integer.parseInt(hint.getCombo2().getText());
								}
								
								userCommand  = 13;
								setChanged();
								notifyObservers("solve");
								board.setFocus();
								
							}else{
								buttons.getMinimax().setText("Run Minimax/Get Hints");
								userCommand  = 12;
								setChanged();
								notifyObservers();
								board.setFocus();
							}
		
						}