private void newGameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newGameActionPerformed
        long pop = Long.valueOf(population.getValue().toString());
        Economy e = new Economy(pop * Long.valueOf(gdpPerCapita.getValue().toString()), Double.valueOf(governmentDebt.getValue().toString()));
        Currency cur = new Currency(currencyName.getText(), currencyShortName.getText(), currencyShort.getText(), currencyISO.getText(), Double.valueOf(usdExchangeRate.getValue().toString()));
        ArrayList<AdministrativeDivisionLevel> levels = new ArrayList();
        if (admStep1.isSelected()) {
            levels.add(new AdministrativeDivisionLevel(admStep1Name.getText(), Integer.parseInt(admStep1Count.getValue().toString())));
        }
        if (admStep2.isSelected()) {
            levels.add(new AdministrativeDivisionLevel(admStep2Name.getText(), Integer.parseInt(admStep2Count.getValue().toString())));
        }
        if (admStep3.isSelected()) {
            levels.add(new AdministrativeDivisionLevel(admStep3Name.getText(), Integer.parseInt(admStep3Count.getValue().toString())));
        }
        if (admStep4.isSelected()) {
            levels.add(new AdministrativeDivisionLevel(admStep4Name.getText(), Integer.parseInt(admStep4Count.getValue().toString())));
        }
        if (admStep5.isSelected()) {
            levels.add(new AdministrativeDivisionLevel(admStep5Name.getText(), Integer.parseInt(admStep5Count.getValue().toString())));
        }
        AdministrativeDivision ad = new AdministrativeDivision();
        ad.addLevels(levels.toArray(new AdministrativeDivisionLevel[0]));
        Country c = new Country(fullCountryName.getText(), shortCountryName.getText(), pop, Long.valueOf(area.getValue().toString()), ad);
        Game.game = new Game(c, e, cur);
        this.dispose();
    }//GEN-LAST:event_newGameActionPerformed