static void configure() throws NumberFormatException, IOException {
		textArea.append("In order to analyze your keystroke, you will be required to " +
				"enter you password a certain amount of times to gather data.\n");
		delay(1000);
		textArea.append("You must enter you password at least five times.\n");
		delay(1500);
		textArea.append("Your password must be at least five characters long, and " +
				"must contain at least one uppercase letter and one number.\n");
		delay(1500);
		textArea.append("How many times would you like to enter your password? ");
		sampleSize = Integer.parseInt(getInput());
		
		while (sampleSize < 5) {
			textArea.append("You must enter your password at least 5 times.\n");
			delay(800);
			textArea.append("Please enter another number: ");
			sampleSize = Integer.parseInt(getInput());
		}

		textArea.append(Integer.toString(sampleSize));
		keyTimes = new Long[sampleSize][];
		textArea.append("\nPlease enter your password for reference: ");
		
		while(true) {
			password = getInput();
			if (password.length() > 5) {
				for (int i = 0; i < password.length(); i++) {
					if (Character.isUpperCase(password.charAt(i))) {
						uppercase = true;
					}
					if (Character.isDigit(password.charAt(i))) {
						number = true;
					}
				}
				if (uppercase == true && number == true) {
					break;
				} else if (uppercase == false) {
					textArea.append("\nYour password must contain at least one " +
							"uppercase character. Please enter your password again: ");
				} else {
					textArea.append("\nYour password must contain at least one " +
							"number. Please enter your password again: ");
				}
			} else {
				textArea.append("\nYour password must contain at least five " +
						"characters. Please enter your password again: ");
			}
		}
		
		textArea.append(password);
	}