@Override
    public void mouseClicked(MouseEvent e) {
        GridCase sgc = (GridCase) e.getSource();
        String selectedButton = frame.getPanPara().getCaseGroup().getSelection().getActionCommand();
        
        switch(selectedButton){
            case "Vide" :
                sgc.setBackground(new Color(-1));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.vide);
            break;
            case "Jeune pousse" :
                sgc.setBackground(new Color(-7090095));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.jeunePousse);
            break;
            case "Arbustre" :
                sgc.setBackground(new Color(-13330125));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.arbuste);
            break;
            case "Arbre" :
                sgc.setBackground(new Color(-16692992));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.arbre);
            break;
            case "Feu" :
                sgc.setBackground(new Color(-1630437));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.feu);
            break;
            case "Cendre" :
                sgc.setBackground(new Color(-8289663));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.cendre);
            break;
            case "Insectes" :
                sgc.setBackground(new Color(-9618794));
                obj.setUpdatedTabColorPosition(sgc.getPositionX(), sgc.getPositionY(), Etat.infecte);
            break;
        }        
    }