public void stand() {
		dealButton.setEnabled(false);
		hitButton.setEnabled(false);
		standButton.setEnabled(false);
		doubleButton.setEnabled(false);
		discardButton.setEnabled(true);
		quitButton.setEnabled(true);
		while (dealer.getTotal() < 17) {
			if (deck.getDeck().size() < 1) {
				reset();
			}
			deck.hit(dealer);
		}
		dealer.getHand().get(0).flip();
		dealer.refreshImage();
		if (!player.checkBust()) {
			if (player.getHand().size() == 5) {
				bet = (3 * bet) / 2;
				JOptionPane.showMessageDialog(this, "You win $" + bet);
				player.addMoney(bet);
			} else {
				if (dealer.checkBust()) {
					bet = (3 * bet) / 2;
					JOptionPane.showMessageDialog(this,
							"Dealer bust!! You win $" + bet);
					player.addMoney(bet);
				} else {
					if (player.getTotal() > dealer.getTotal()) {
						bet = (3 * bet) / 2;
						JOptionPane.showMessageDialog(this, "You win $" + bet);
						player.addMoney(bet);
					} else if (player.getTotal() == dealer.getTotal()) {
						JOptionPane.showMessageDialog(this, "You win $" + bet);
						player.addMoney(bet);
					} else if (player.getTotal() < dealer.getTotal()) {
						JOptionPane.showMessageDialog(this, "Dealer has "
								+ dealer.getTotal() + ". No money collected.");
					}
				}
			}
		}
		bet = 0;
		info.update(deck);
	}