public SpelprojektPanelViewbox(String sid, String beteckning, String release, String start) {
        initComponents();
        if (Validate.containsOnlyDigits(sid)) {
            this.sid = Integer.parseInt(sid);
        } else {
            this.sid = -1;
        }
        SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy");
        Date sdate = java.sql.Date.valueOf(start);
        Date rdate = java.sql.Date.valueOf(release);

        if (sdate != null && rdate != null) {
            lblBeteckning.setText(beteckning);
            lblStart.setText("SD: " + sdf.format(sdate));
            lblRelease.setText("RD: " + sdf.format(rdate));
            this.setVisible(true);
        }
    }