public class SaveDialog extends Object
Constructor and Description |
---|
SaveDialog(String title,
String defaultName,
String extension)
Displays a file save dialog with 'title' as the
title, 'defaultName' as the initial file name, and
'extension' (e.g.
|
SaveDialog(String title,
String defaultDir,
String defaultName,
String extension)
Displays a file save dialog, using the specified
default directory and file name and extension.
|
Modifier and Type | Method and Description |
---|---|
String |
getDirectory()
Returns the selected directory.
|
String |
getFileName()
Returns the selected file name.
|
static String |
setExtension(String name,
String extension) |
Copyright © 1997–2018 NIH. All rights reserved.