Duplicate :
|
Run the FileChooserDemo, select the "Select files or directories", choose Motif LAF. Click the Show FileChooser button. Select a directory and click OK. Instead of returning with the path the dialog will go into the selected directory.