@Override
    @FXML
    public void initialize(URL url, ResourceBundle rb) {
        conn = Tables.getConnection();
        curUser = Tables.getCurrentUser();
        expDate.setValue("Choose a date");

        String aStr;
        String bStr;
        dates = new ArrayList<>();

        for (int y = 14; y < 25; y++) {
            aStr = "" + y;
            for (int x = 0; x < 12; x++) {
                bStr = x + "/" + aStr;
                String DateStr="20" + y + "-" + x + "-01";
                try {
                    Date d = new SimpleDateFormat("yyyy-MM-dd").parse(DateStr);
                    java.sql.Date date = new java.sql.Date(d.getTime());
                    dates.add(date);
                } catch (ParseException e) {
                    e.printStackTrace();
                }
            }
        }

        expDate.setItems(FXCollections.observableArrayList(dates));

        cards = new ArrayList<>();
        try {
            String getQ = "SELECT Card_No " +
                            "FROM Payment_Info " +
                            "WHERE Username = '" + curUser + "';";
            Statement getCard = conn.createStatement();
            ResultSet get = getCard.executeQuery(getQ);
            while (get.next()) {
                cards.add(get.getString("Card_No"));
            }
        } catch(SQLException ex) {
            System.out.println("SQL Error: " + ex.getMessage());
        }
        cardBox.setItems(FXCollections.observableArrayList(cards));
    }