JFileChooser fileChooser = new JFileChooser(initialDir);
fileChooser.setDialogTitle(GemCutter.getResourceString("CreateMinimalWorkspaceSelectOutputFile"));
fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
// Set up other customizations
FileFilter filter = new ExtensionFileFilter(WorkspaceDeclarationPathMapper.INSTANCE.getFileExtension(), GemCutter.getResourceString("CWSFilesFilterName"));
fileChooser.setAcceptAllFileFilterUsed(true);
fileChooser.addChoosableFileFilter(filter);
fileChooser.setFileFilter(filter);