Microsoft SDK for Java

FileDialog.setTitle

Sets the text that appears in the title bar of the dialog box.

Syntax

public final void setTitle( String value )

Parameters

value

The text that appears in the title bar of the dialog box. If you specify an empty string, the title bar will contain the default text (either "Open" or "Save As"). The default value is an empty string.

See Also   getTitle

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