ff = fcp.getFiles().getFileFilter();
if (ff.accept(new File("file"))) {
selectedDf = (DataFlavor) UIMessage.showSelectDialog(applet, "What document type to you want to save ?", "Document type is unknown", _dataFlavors, InteractiveModel._dataFlavor);
} else if (ff.accept(new File("file." + Custom._MIME_EXT[0]))) {
selectedDf = Custom._dataFlavor;
} else if (ff.accept(new File("file." + Model._MIME_EXT[0]))) {
selectedDf = Model._dataFlavor;
} else if (ff.accept(new File("file." + InteractiveModel._MIME_EXT[0]))) {
selectedDf = InteractiveModel._dataFlavor;
} else if (ff.accept(new File("file." + XtendedModel._MIME_EXT[0]))) {
selectedDf = XtendedModel._dataFlavor;