@Override
	protected JPanel createDetailsView( JFileChooser fc ) {
		JPanel p = super.createDetailsView( fc );

		if( !SystemInfo.isWindows )
			return p;

		// find scroll pane
		JScrollPane scrollPane = null;
		for( Component c : p.getComponents() ) {
			if( c instanceof JScrollPane ) {
				scrollPane = (JScrollPane) c;
				break;
			}
		}
		if( scrollPane == null )
			return p;

		// get scroll view, which should be a table
		Component view = scrollPane.getViewport().getView();
		if( !(view instanceof JTable) )
			return p;

		JTable table = (JTable) view;

		// on Windows 10, the date may contain left-to-right (0x200e) and right-to-left (0x200f)
		// mark characters (see https://en.wikipedia.org/wiki/Left-to-right_mark)
		// when the "current user" item is selected in the "look in" combobox
		// --> remove them
		TableCellRenderer defaultRenderer = table.getDefaultRenderer( Object.class );
		table.setDefaultRenderer( Object.class, new TableCellRenderer() {
			@Override
			public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected,
				boolean hasFocus, int row, int column )
			{
				// remove left-to-right and right-to-left mark characters
				if( value instanceof String && ((String)value).startsWith( "\u200e" ) ) {
					String str = (String) value;
					char[] buf = new char[str.length()];
					int j = 0;
					for( int i = 0; i < buf.length; i++ ) {
						char ch = str.charAt( i );
						if( ch != '\u200e' && ch != '\u200f' )
							buf[j++] = ch;
					}
					value = new String( buf, 0, j );
				}

				return defaultRenderer.getTableCellRendererComponent( table, value, isSelected, hasFocus, row, column );
			}

		} );

		return p;
	}
Provides the Flat LaF UI delegate for {@link javax.swing.JFileChooser}.

<!-- BasicFileChooserUI -->

@uiDefault FileView.directoryIcon					Icon
@uiDefault FileView.fileIcon							Icon
@uiDefault FileView.computerIcon						Icon
@uiDefault FileView.hardDriveIcon					Icon
@uiDefault FileView.floppyDriveIcon					Icon

@uiDefault FileChooser.newFolderIcon					Icon
@uiDefault FileChooser.upFolderIcon					Icon
@uiDefault FileChooser.homeFolderIcon				Icon
@uiDefault FileChooser.detailsViewIcon				Icon
@uiDefault FileChooser.listViewIcon					Icon
@uiDefault FileChooser.viewMenuIcon					Icon

@uiDefault FileChooser.usesSingleFilePane			boolean
@uiDefault FileChooser.readOnly						boolean	if true, "New Folder" is disabled

@uiDefault FileChooser.newFolderErrorText					String
@uiDefault FileChooser.newFolderErrorSeparator				String
@uiDefault FileChooser.newFolderParentDoesntExistTitleText	String
@uiDefault FileChooser.newFolderParentDoesntExistText		String
@uiDefault FileChooser.fileDescriptionText					String
@uiDefault FileChooser.directoryDescriptionText				String
@uiDefault FileChooser.saveButtonText						String
@uiDefault FileChooser.openButtonText						String
@uiDefault FileChooser.saveDialogTitleText					String
@uiDefault FileChooser.openDialogTitleText					String
@uiDefault FileChooser.cancelButtonText						String
@uiDefault FileChooser.updateButtonText						String
@uiDefault FileChooser.helpButtonText						String
@uiDefault FileChooser.directoryOpenButtonText				String

@uiDefault FileChooser.saveButtonMnemonic					String
@uiDefault FileChooser.openButtonMnemonic					String
@uiDefault FileChooser.cancelButtonMnemonic					String
@uiDefault FileChooser.updateButtonMnemonic					String
@uiDefault FileChooser.helpButtonMnemonic					String
@uiDefault FileChooser.directoryOpenButtonMnemonic			String

@uiDefault FileChooser.saveButtonToolTipText					String
@uiDefault FileChooser.openButtonToolTipText					String
@uiDefault FileChooser.cancelButtonToolTipText				String
@uiDefault FileChooser.updateButtonToolTipText				String
@uiDefault FileChooser.helpButtonToolTipText					String
@uiDefault FileChooser.directoryOpenButtonToolTipText		String

@uiDefault FileChooser.acceptAllFileFilterText				String

<!-- MetalFileChooserUI -->

@uiDefault FileChooser.lookInLabelMnemonic					String
@uiDefault FileChooser.lookInLabelText						String
@uiDefault FileChooser.saveInLabelText						String
@uiDefault FileChooser.fileNameLabelMnemonic					String
@uiDefault FileChooser.fileNameLabelText						String
@uiDefault FileChooser.folderNameLabelMnemonic				String
@uiDefault FileChooser.folderNameLabelText					String
@uiDefault FileChooser.filesOfTypeLabelMnemonic				String
@uiDefault FileChooser.filesOfTypeLabelText					String

@uiDefault FileChooser.upFolderToolTipText					String
@uiDefault FileChooser.upFolderAccessibleName				String
@uiDefault FileChooser.homeFolderToolTipText					String
@uiDefault FileChooser.homeFolderAccessibleName				String
@uiDefault FileChooser.newFolderToolTipText					String
@uiDefault FileChooser.newFolderAccessibleName				String
@uiDefault FileChooser.listViewButtonToolTipText				String
@uiDefault FileChooser.listViewButtonAccessibleName			String
@uiDefault FileChooser.detailsViewButtonToolTipText			String
@uiDefault FileChooser.detailsViewButtonAccessibleName		String

<!-- FilePane -->

@uiDefault FileChooser.fileNameHeaderText					String
@uiDefault FileChooser.fileSizeHeaderText					String
@uiDefault FileChooser.fileTypeHeaderText					String
@uiDefault FileChooser.fileDateHeaderText					String
@uiDefault FileChooser.fileAttrHeaderText					String

@uiDefault FileChooser.viewMenuLabelText						String
@uiDefault FileChooser.refreshActionLabelText				String
@uiDefault FileChooser.newFolderActionLabelText				String
@uiDefault FileChooser.listViewActionLabelText				String
@uiDefault FileChooser.detailsViewActionLabelText			String

<!-- FlatFileChooserUI -->

@uiDefault FileChooser.shortcuts.buttonSize					Dimension	optional; default is 84,64
@uiDefault FileChooser.shortcuts.iconSize					Dimension	optional; default is 32,32
@uiDefault FileChooser.shortcuts.filesFunction				Function&lt;File[], File[]&gt;
@uiDefault FileChooser.shortcuts.displayNameFunction			Function&lt;File, String&gt;
@uiDefault FileChooser.shortcuts.iconFunction				Function&lt;File, Icon&gt;

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatFileChooserUI.java