Method showSaveDialog(Component parent)
Return type: int
Member of:
javax.swing.JFileChooser
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
fileChooser.showSaveDialog(this);
2
int returnVal = chooser.showSaveDialog(this);
3
int retVal = logFileChooser.showSaveDialog(this);
4
if (fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION)
5
int returnVal = chooser.showSaveDialog(this);
6
int returnVal = chooser.showSaveDialog(this);
7
int rv = saveDialog.showSaveDialog(this);
8
if (jc.showSaveDialog(this) != JFileChooser.APPROVE_OPTION)
9
switch (fileChooser.showSaveDialog(this))
10
if (chooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {
11
int returnVal = fd.showSaveDialog( this );
12
if (JFileChooser.APPROVE_OPTION == fileChooser.showSaveDialog(this)) {
13
int status = fileChooser.showSaveDialog(this);
14
int retVal = fco.showSaveDialog(this);
15
int returnValue = fileChooser.showSaveDialog(this);
16
int returnValue = chooser.showSaveDialog(model);
17
returnVal=fc.showSaveDialog(this);
18
int result = jfc.showSaveDialog(owner);
19
int result=jFileChooser.showSaveDialog(super.rootPane);
20
fc.showSaveDialog(this);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.