private void btnOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnOKActionPerformed
        try { parameter.setName(txfName.getText()); } catch (CantSetException e) {}
        try { parameter.setDescription(txfDescription.getText()); } catch (CantSetException e) {}
        try { parameter.setYear((int)spnYear.getValue()); } catch (CantSetException e) {}
        try { parameter.setMonth((int)spnMonth.getValue()); } catch (CantSetException e) {}
        try { parameter.setDay((int)spnDay.getValue()); } catch (CantSetException e) {}
        try { parameter.setHour((int)spnHour.getValue()); } catch (CantSetException e) {}
        try { parameter.setMinute((int)spnMinute.getValue()); } catch (CantSetException e) {}
        try { parameter.setPrefix((String)cbxPrefix.getSelectedItem()); } catch (CantSetException e) {}
        try { parameter.setSuffix((String)cbxSuffix.getSelectedItem()); } catch (CantSetException e) {}
        dispose();
    }//GEN-LAST:event_btnOKActionPerformed