@Nonnull
	public FileChooser build() {
		FileChooser chooser = new FileChooser();
		if (initialFileName != null)
			chooser.setInitialFileName(initialFileName);
		if (fileExtensionFilterName != null && fileExtensions != null) {
			FileChooser.ExtensionFilter filter = new FileChooser.ExtensionFilter(fileExtensionFilterName, fileExtensions);
			chooser.getExtensionFilters().addAll(filter, ALL_FILES_FILTER);
			chooser.setSelectedExtensionFilter(filter);
		} else {
			chooser.getExtensionFilters().add(ALL_FILES_FILTER);
			chooser.setSelectedExtensionFilter(ALL_FILES_FILTER);
		}
		if (initialDirectory != null && initialDirectory.isDirectory())
			chooser.setInitialDirectory(initialDirectory);
		if (title != null)
			chooser.setTitle(title);
		return chooser;
	}
@return New filer chooser from current settings.
recaf-ui/src/main/java/software/coley/recaf/util/FileChooserBuilder.java