FlashCardsProject/build/build/src/jf/flashcards/address/view/AddFlashCardStackController.java
/**
	 * 
	 * handles the ok button 
	 * when pressed calls insertIntoFlashCardList() to add a new stack 
	 *
	 */
handles the ok button
when pressed calls insertIntoFlashCardList() to add a new stack
handles the ok button when pressed calls insertIntoFlashCardList () to add a new stack
@FXML
	private void handleOkButton() {
		if(checkValidInput())
		{
			okClicked = true;
			dialogStage.close();
			FlashCardDatabase.insertIntoFlashCardList(newStackName.getText());
		}
	}
@ FXML private void handleOkButton ( ) { if ( checkValidInput ( ) ) { okClicked = true ; dialogStage . close ( ) ; FlashCardDatabase . insertIntoFlashCardList ( newStackName . getText ( ) ) ; } }
handles the ok button
 when pressed calls insertIntoFlashCardList() to add a new stack
handles the ok button when pressed calls insertIntoFlashCardList () to add a new stack