Posted By:
Sarada_Lakhamraju
Posted On:
Wednesday, August 14, 2002 03:49 PM
Hello sirisha,
The FileDialog class displays a dialog window from which the user can select a file. It is a modal dialog. You can use it to display dialog window with different options. The following are the constructors for using the FileDialog.
FileDialog(Frame parent)
This creates a file dialog for loading a file.
FileDialog(Frame parent, String title)
This creates a file dialog window with the specified title for loading a file.
FileDialog(Frame parent, String title, int mode)
This creates a file dialog window with the specified title for loading or saving a file.
Cheers,
Sarada.