public SimulationStarter(GUIMainWindow gui, PokerGameType gameType,
            int numberOfStartingHands, int numberOfSimulations) {
        this.gui = gui;
        this.gameType = gameType;
        this.numberOfStartingHands = numberOfStartingHands;
        this.numberOfSimulations = numberOfSimulations;
        this.drawnCards = new HashMap<Card, Component>();
        initStartingHandArrays();
        this.selectedCards = new ArrayList<Card>();
        this.selectedCardLabels = new ArrayList<Component>();
        this.indexForCard = new HashMap<Card, Integer>();
        if (gameType.isCommunityCardGame()) {
            this.board = new FiveCardBoard();
            this.cardLabelsInBoard = new ArrayList<Component>();
        }
        this.showMinorErrorDialogs = gui.getSettings().isShowMinorErrorDialogs();
    }