The FileDialog spec says the following about the
FileDialog(Frame) and FileDialog(Frame,String,int)
constructors:
public FileDialog(Frame parent)
Creates a file dialog for loading a file. The title of the file dialog
is initially empty.
Parameters:
parent - the owner of the dialog
public FileDialog(Frame parent,
String title,
int mode)
Creates a file dialog window with the specified title for loading
or saving a file.
If the value of mode is LOAD, then the file dialog is finding a file
to read. If the value of mode is SAVE, the file dialog is finding a
place to write a file.
Parameters:
parent - the owner of the dialog.
title - the title of the dialog.
mode - the mode of the dialog.
See Also:
LOAD, SAVE
The spec does not specify that when the file dialog created by these
constructors is displayed, the files shown are those in the current
directory.