FileDialog.getInitialDir

Overview | Methods | This Package | All Packages

FileDialog.getInitialDir

Retrieves the path for the directory whose contents are initially displayed in the dialog box.

Syntax

public final String getInitialDir()

Return Value

Returns the full path of the initial directory for the dialog box. If the initialDir property has not been explicitly set using the setInitialDir property, the initial directory is the current directory, and this method returns an empty string.

See Also   setInitialDir