public void saveAs() {
    	
        String fileName;
        fileName = chooseFile( Constantes.SAVE );
        if (fileName == null)
            return;

        this.setSave ( true );

        AnalyseFilter af = getAnalyseFilter();

        if (Utilities.getExtension(fileName).equals(""))
            this.fileName = fileName + "." + af.getExtension();
        else
            this.fileName = fileName;

     // Bug #352415
    	
    	File file = new File(this.fileName) ;
    	int sauvegarder = JOptionPane.YES_OPTION ; 
    	if ( file.exists() ) {
    		sauvegarder = this.popupFichierExiste () ;
    	} 
    	
    	if ( sauvegarder == JOptionPane.YES_OPTION ) {
    		((Save) af).save( file );    		
    		msgSave ( Utilities.getLangueMessage( Constantes.MESSAGE_SAUVEGARDE_EFFECTUEE ) ) ;     		
    	}
    	
        frame.setTitle(Utilities.getRelease() + " - " + this.fileName);
        
    }