[Review request] Initial file name for file save dialog

Lubomir Nerad lubomir.nerad at oracle.com
Thu Jan 10 03:33:25 PST 2013

Hi All,

I would like to finalize RT-16111: FileChooser: Need to be able to 
specify initial file name in save dialog 
(http://javafx-jira.kenai.com/browse/RT-16111) by adding public API for it.

My proposal is simply to add the "initialFileName" property to the 
FileChooser class. It will be specified that this property is specific 
to the save dialogs. While some systems allow to set such property also 
for file open dialogs, it is not true in general and so I want to limit 
its usage to save dialogs only for now.

The added methods in FileChooser are:

public void setInitialFileName(String value);
public String getInitialFileName();
public ObjectProperty<String> initialFileNameProperty();


More information about the openjfx-dev mailing list