dcsimg
I woul like to know about file dialog
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sirisha_vedagiri
Posted On:   Wednesday, August 14, 2002 10:42 AM


I want to know about various ways of using file dialog
by java.awt.filedialog

Re: I woul like to know about file dialog

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.

About | Sitemap | Contact