JHoover.startDownload(projectName, url, destDirectory, depth, nbHtmlThread, nbLinkedThread, regExp);
JHoover.getInstance().startDownload(projectName, url, destDirectory, depth, nbHtmlThread, nbLinkedThread, regExp);
	ActionListener validButtonAction() {		return new ActionListener() {			public void actionPerformed(ActionEvent arg0) {				System.out.println("Saving configuration...");				String projectName = rProjectName.getText(); //TODO: verifier que le projectName ne contient pas de caracteres spciaux				String url = rUrl.getText(); //TODO: verifier la syntaxe de l'URL, ajouter index.html, ...				Integer depth = (Integer)rDepth.getValue();				String regExp = rRegexp.getText();				Integer nbHtmlThread = (Integer)rNbHtmlThread.getValue();				Integer nbLinkedThread = (Integer)rNbLinkedThread.getValue();				String destDirectory = JHoover.validDestDirectory(rDestDirectory.getText());				configuration.setProjectName(projectName);				configuration.setUrl(url);				configuration.setDepth(depth);				configuration.setRegExp(regExp);				configuration.setNbHtmlThread(nbHtmlThread);				configuration.setNbLinkedThread(nbLinkedThread);				configuration.setDestDirectory(destDirectory);				configuration.save();				JHoover.startDownload(projectName, url, destDirectory, depth, nbHtmlThread, nbLinkedThread, regExp);				dispose();			}		};	}