JCardHand

setCardCount

public void setCardCount(int n)

This method sets the number of cards. If the new card count is
greater than the old, an appropriate number of new cards are added. If
the new card count is smaller than the old, an appropriate number of
cards are removed. The card count is then updated.