The UserFileDialog Class contains the following constructor:
Creates a UserFileDialog object that represents a file dialog box. After creating the UserFileDialog object, you can use one of the following methods to display the dialog box and open a file:
openFileForReading
openFileForWriting
openRandomAccessFile
public UserFileDialog(Frame parent,String title);
parent | The owner of the file dialog box. |
title | The title of the file dialog box. |