private void loadDates() {
        SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy");
        HashMap<String, String> dates = new HashMap<>();
        try {
            String query = "select startdatum,releasedatum from spelprojekt where sid=" + selectedSpelprojekt;
            dates = DB.fetchRow(query);
        } catch (InfException e) {
            e.getMessage();
        }
        Date sdate = java.sql.Date.valueOf(dates.get("STARTDATUM"));
        Date rdate = java.sql.Date.valueOf(dates.get("RELEASEDATUM"));

        if (sdate != null && rdate != null) {
            lblStartDate.setText(sdf.format(sdate));
            lblReleaseDate.setText(sdf.format(rdate));
        }
    }