private void takeTurn(JTable table) {
        String playersToken;
        int selectedRow;
        int selectedColumn = table.getSelectedColumn();
        Player currentPlayer = this.game.getCurrentPlayer();
        Player otherPlayer = this.game.getOtherPlayer();
        TableModel model = this.jTableCrazyConnectFour.getModel();
        int rowCount = this.game.getBoard().getRowCount();
        int colCount = this.jTableCrazyConnectFour.getColumnCount();
        selectedRow = rowCount - 1;
        while (selectedRow >= 0 && model.getValueAt(selectedRow, selectedColumn) != "") {
            selectedRow -= 1;
        }
        try {
            if (selectedRow >= 0) {
                Point selectedLocation = new Point(selectedRow, selectedColumn);
            } // a valid location was entered
            else {
                throw new LocationException(ErrorType.ERROR201.getMessage());
            }
        } catch (LocationException ex) {
            this.jTextMessagePanel.setText(ex.getMessage());
        }
        if (selectedRow >= 0)
        
        {
            table.setCellSelectionEnabled(false);
            ListSelectionModel selectionModel = table.getSelectionModel();
            selectionModel.clearSelection();
            playersToken = currentPlayer.getToken();
            table.getModel().setValueAt(playersToken, selectedRow, selectedColumn);
            this.gameCommands.alternatePlayers();
            String promptNextPlayer = getNextPlayerMessage(this.game.getCurrentPlayer());
            this.jTextMessagePanel.setText(promptNextPlayer);
        }

    }