public void bet() {
		try {
			bet = Integer.parseInt(JOptionPane.showInputDialog(this,
					"Place a bet: "));
		} catch (NumberFormatException e) {
			JOptionPane.showMessageDialog(this, "Please enter a valid number");
			return;
		}
		if (bet > player.getMoney()) {
			JOptionPane.showMessageDialog(this,
					"You don't have that much money.");
			return;
		} else if (bet == 0) {
			JOptionPane.showMessageDialog(this,
					"There is no playing for free here!");
			return;
		}
		player.placeBet(bet);
		info.update(deck);
		if (deck.getDeck().size() >= 4) {
			dealButton.setEnabled(true);
		}
		betButton.setEnabled(false);
		quitButton.setEnabled(false);
	}