Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add :selected-file to file-chooser #156

Open
mschuene opened this issue Nov 12, 2013 · 1 comment
Open

Add :selected-file to file-chooser #156

mschuene opened this issue Nov 12, 2013 · 1 comment

Comments

@mschuene
Copy link
Contributor

There is a swing "hack" of suggesting an initial filename for a file save dialog by calling
(.setSelectedFile FileDialog (file "blub"))
See also
http://stackoverflow.com/questions/356671/jfilechooser-showsavedialog-how-to-set-suggested-file-name

I think a :selected-file option for file-chooser would be convenient for this.
Also worth thinking of a better name like :suggest-name maybe

@daveray
Copy link
Collaborator

daveray commented Nov 13, 2013

Sounds totally reasonable to me. I'm not sure when I can get to it, but patches welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants