@Override
public Component getPreview ( final WebLookAndFeelDemo owner )
{
// Simple file chooser field
final WebFileChooserField fileChooserField1 = new WebFileChooserField ( owner );
fileChooserField1.setPreferredWidth ( 200 );
// Single file chooser field with custom root
final WebFileChooserField fileChooserField2 = new WebFileChooserField ( owner );
fileChooserField2.setPreferredWidth ( 200 );
fileChooserField2.setMultiSelectionEnabled ( false );
fileChooserField2.setShowFileShortName ( false );
fileChooserField2.setShowRemoveButton ( false );
fileChooserField2.setSelectedFile ( File.listRoots ()[ 0 ] );
return new GroupPanel ( 4, false, new GroupPanel ( fileChooserField1 ), new GroupPanel ( fileChooserField2 ) );
}