Microsoft SDK for Java

UserFileDialog Class Constructors

The UserFileDialog Class contains the following constructor:

UserFileDialog(Frame parent,String title)

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

Syntax

public UserFileDialog(Frame parent,String title);

Parameters

parent The owner of the file dialog box.
title The title of the file dialog box.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.