void jButton1_actionPerformed(ActionEvent e) {
        //pick card
        int n = allCardTable.getSelectedRow();
        if (n == -1) //is valid selection?
            return;

        Card c = allCardModel.rowToCard(n);

        deckModel.addCard(c);
        deckModel.resort();

        //get next booster pack
        boosterDraft.setChoice(c);
        if (boosterDraft.hasNextChoice()) {
            showChoices(boosterDraft.nextChoice());
        } else {
            if (Constant.Runtime.UpldDrft[0]) {
                if (BoosterDraft.draftPicks.size() > 1) {
                    ArrayList<String> outDraftData = new ArrayList<String>();

                    String keys[] = {""};
                    keys = BoosterDraft.draftPicks.keySet().toArray(keys);

                    for (int i = 0; i < keys.length; i++) {
                        outDraftData.add(keys[i] + "|" + BoosterDraft.draftPicks.get(keys[i]));
                    }

                    FileUtil.writeFile("res/draft/tmpDraftData.txt", outDraftData);

                    HttpUtil poster = new HttpUtil();
                    poster.upload("http://cardforge.org/draftAI/submitDraftData.php?fmt=" + BoosterDraft.draftFormat[0], "res/draft/tmpDraftData.txt");
                }
            }

            //quit
            saveDraft();
            dispose();
        }
    }/*OK Button*/