private void UEActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_UEActionPerformed
        // TODO add your handling code here:
        switch(etat){
            case Debut:
                //interdit
                break;
            case Debut1:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
            case UE:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
            case Intervenant:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
            case Salle:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
            case Etudiant:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
            case Creneau:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
            case Batiment:
                this.donner1.frame_UE(this.id_promo);
                this.donner1.setVisible(true);
                this.donner1.setEtat("UE");
                this.donner1.desactive_sup_modif();
                etat = Etat.UE;
                activeBouton();
                break;
        }
    }//GEN-LAST:event_UEActionPerformed