void doNewGame() {
       if (gameInProgress) {
             // If the current game is not over, it is an error to try
             // to start a new game.
          message = "You still have to finish this game!";
          repaint();
          return;
       }
       deck = new Deck();   // Create the deck and hands to use for this game.
       dealerHand = new BlackjackHand();
       playerHand = new BlackjackHand();
       deck.shuffle();
       dealerHand.addCard( deck.dealCard() );  // Deal two cards to each player.
       dealerHand.addCard( deck.dealCard() );
       playerHand.addCard( deck.dealCard() );
       playerHand.addCard( deck.dealCard() );
       if (dealerHand.getBlackjackValue() == 21) {
          message = "Sorry, you lose.  Dealer has Blackjack.";
          gameInProgress = false;
       }
       else if (playerHand.getBlackjackValue() == 21) {
          message = "You win!  You have Blackjack.";
          gameInProgress = false;
       }
       else {
          message = "You have " + playerHand.getBlackjackValue() + ".  Hit or stand?";
          gameInProgress = true;
       }
       repaint();
    }  // end newGame();