Sets the text that appears in the title bar of the dialog box.
public final void setTitle( String value )
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