The UserFileDialog Class contains the following methods:
getFileName retrieves the name of the last file opened with a dialog box if a successful file open operation has been performed with the dialog box.
openFileForReading displays a dialog box that allows the user to open a file for reading.
openFileForWriting displays a dialog box that allows the user to open a file for writing.
openRandomAccessFile displays a dialog box that allows the user to open a file for random access.