@Override
    /**
     * Quand un text field perd le focus
     *
     * @param e l'évènement
     */
    public void focusLost(FocusEvent e) {
        if (e.getComponent() instanceof JTextField) {

            JTextField temp = (JTextField) e.getComponent();
            if (temp.getParent() instanceof IconeSommet) {
                String nouv = temp.getText();
                if ("".equals(nouv)) {
                    nouv = nomCache;
                }
                mdl.changeName(nomCache, nouv);
            } else if (temp.getParent() instanceof IconeArrete) {
                IconeArrete arr = (IconeArrete) temp.getParent();
                String nouv = temp.getText();
                int pod;
                if (isInteger(nouv)) {
                    pod = Integer.parseInt(nouv);
                } else {
                    pod = arr.getPoid();
                }

                mdl.changePoid(pod, arr.getKey());
            }

        } else if (e.getComponent() instanceof IconeSommet) {
            if (mode.equals(MODE_FLECHE)) {
                IconeSommet tmp = (IconeSommet) e.getComponent();
                System.err.println("focus lost de " + tmp.getLabel().getText());
                mdl.modeNonSelectionSommet(tmp.getLabel().getText());
                icoSelected = null;
            }
        } else if (e.getComponent() instanceof IconeArrete) {
            if (mode.equals(MODE_FLECHE)) {
                IconeArrete tmp = (IconeArrete) e.getComponent();
                System.err.println("focus lost de " + tmp);
                mdl.modeNonSelectionArrete(tmp.toString());
                icoArreteSelected = null;
            }

        }

    }