private void click() {
        this.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                _clics.add(e.getPoint());
                Insets insets = getInsets();
                double h = getHeight() - insets.top - insets.bottom;
                System.out.println((_pointClick.getX()/_coefX+_mapGauche) + ", " + ((h-_pointClick.getY())/_coefY+_mapHaut));
                Forme forme = _metier.getForme(e.getPoint());
                if(forme!=null) {
                    if(_navireSelectionne!=null) {
//                        DeplacementBateaux t = new DeplacementBateaux(_navireSelectionne, new Point2D.Double(_pointClick.getX()/_coefX+_mapGauche, (h-_pointClick.getY())/_coefY+_mapHaut), _metier.getLittoraux(), getThis());
//                        t.start();
//                        resultat = t;
                        if(forme instanceof Terminal) {
                            Terminal terminal = (Terminal)forme;
                            Quai q = terminal.getQuai();
                            if(q.peutPrendreEnCharge(_navireSelectionne)) {
                                DeplacementBateaux t = new DeplacementBateaux(_navireSelectionne, q, _metier.getLittoraux(), getThis());
                                t.start();
                            }
//                            DeplacementBateaux t = new DeplacementBateaux(_navireSelectionne, new Point2D.Double(_pointClick.getX()/_coefX+_mapGauche, (h-_pointClick.getY())/_coefY+_mapHaut), _metier.getCoordonneesDessin(), getThis());
                                
                        } 
                    }
                    if(forme instanceof Navire) {
                        Navire n = (Navire) forme;
                        if(!n.estAssigneQuai()) {
                            setNavireSelectionne(n);
                        }
                    } else  {
                        setTypeColorer(null);
                        if(forme instanceof Quai) {
                            
                            Quai q = (Quai) forme;
                            _panelInfoForme.setInformations(q.getDonneesFormates());
                            _panelInfoForme.setNomPanel("Quai");
                            _panelInfoForme.majInformations();
                        } else if(forme instanceof Terminal) {
                            
                            Terminal t = (Terminal) forme;
                            _panelInfoForme.setInformations(t.getDonneesFormates());
                            _panelInfoForme.setNomPanel("Terminal");
                            _panelInfoForme.majInformations();
//                            if(_navireSelectionne!=null) {
//                                if(t.prendEnCharge(_navireSelectionne.getTypeMachandise())) {
//                                    //DeplacementBateaux.deplacer(_navireSelectionne, new Point2D.Double(0.109, 49.458), _metier.getCoordonneesDessin(), _coefX, _coefY);
//                                }
//                            }
                        }
                        _navireSelectionne = null;
                    }
                    
                    refresh();
                }
            }
        });
    }