Show with an example the usage of FileDialog object.- class FileDialog extends from Dialog class.
- It is used to display a dialog window from which the user can select a file.
- It is a modal dialog.
- When the application calls the show method to display the dialog, the rest of the application is blocked until the user has chosen a file.
- It provides file dialog box functionality.
- It returns FileDialog object.