@Override
	public void actionPerformed(ActionEvent e) {
		if (e.getSource().equals(buttonLancer)) {
			isNotDisabled = false;
			buttonLancer.setEnabled(isNotDisabled);
			buttonLoadFile.setEnabled(isNotDisabled);
			nbTour = 0;
			nbDeplacement = 0;
			nbSourisEnCours = 0;
			nbSourisArrivees = 0;
			nbSourisSorties = 0;
			listNbSourisSorti.clear();

			new Thread(new Runnable() {
				public void run() {
					for (int i = 0; i < nbPorte; i++) {
						listNbSourisSorti.add(Integer
								.parseInt(listFieldNbSourisSorti.get(i)
										.getText()));
					}
					deplacerSouris();
				}
			}).start();
		}

		if (e.getSource().equals(buttonLoadFile)) {
			initMap();

			for (int i = 0; i < listNodeDepart.size(); i++) {

				int distance = 999999;

				for (int j = 0; j < listNodeFromage.size(); j++) {

					Dikstra di = new Dikstra(graph, listNodeDepart.get(i),
							listNodeFromage.get(j), null);
					List<Node> chemin = di.cheminPlusCourtOptimiser();

					if (distance > chemin.size()) {
						distance = chemin.size();
						listDepartToFromage.put(listNodeDepart.get(i),
								listNodeFromage.get(j));
					}
				}

			}
		}
	}