public void bet(String b) {
		try {
			this.bet = Integer.parseInt(b);
		} catch (Exception e) {
			this.validBet = false;
		}
		
		while (this.money == 0) {
			JOptionPane
					.showMessageDialog(null,
							"Cannot bet, Out of money!\nRestart Program to play again!");
		}

		if (this.bet > this.money || this.bet <= 0) {
			this.validBet = false;
		}

		while (!this.validBet) {
			try {
				this.bet = Integer.parseInt(JOptionPane.showInputDialog(null,
						"Please enter a positive integer bet amount that is less than $"
								+ this.money, "Invalid Bet", 0));
				if (this.bet > this.money || this.bet <= 0) {
					this.validBet = false;
				} else {
					this.validBet = true;
				}
			} catch (Exception e) {
				this.validBet = false;
			}
		}

		this.validBet = true;
		this.money -= this.bet;
	}