System.out.println(dpc.getName());
	public boolean openProject ()	{		boolean opened = false;		this.reinitialize();		OpenProjectDialog opDialog = new OpenProjectDialog(this);		opDialog.showDialog();		Project projectTemp = null;		if (opDialog.hasProject())		{			projectTemp = opDialog.getOpenedProject();			ApplicationManager.getInstance().setCurrentProject(					projectTemp);		}		else		{			return opened;		}		opDialog.dispose();				if (ApplicationManager.getInstance().getCurrentProject() != null)		{			System.out.println("On a a un project et on essaye de l'ouvrir");			File validTab[];			File dpc = null;			File directory = new File(PreferencesManager.getInstance()					.getWorkspace()					+ File.separator					+ ApplicationManager.getInstance().getCurrentProject()							.getName());			validTab = directory.listFiles();			for (File currentFile : validTab)			{				if (currentFile.getName().endsWith(".dpc")						|| currentFile.getName().endsWith(".pagod"))				{					dpc = currentFile;					System.out.println(currentFile.getName());				}			}			if (dpc != null)			{				ApplicationManager.getInstance().getCurrentProject().setNameDPC(dpc.getName());				opened = true;			}			else			{				opened = true;			}		}		return (opened);	}