7158366: [macosx] Print-to-file dialog doesn't have an entry field for a name
Reviewed-by: bae, jgodinez
This commit is contained in:
parent
9d94d32594
commit
0527d01622
@ -429,6 +429,7 @@ public class ServiceDialog extends JDialog implements ActionListener {
|
|||||||
ValidatingFileChooser jfc = new ValidatingFileChooser();
|
ValidatingFileChooser jfc = new ValidatingFileChooser();
|
||||||
jfc.setApproveButtonText(getMsg("button.ok"));
|
jfc.setApproveButtonText(getMsg("button.ok"));
|
||||||
jfc.setDialogTitle(getMsg("dialog.printtofile"));
|
jfc.setDialogTitle(getMsg("dialog.printtofile"));
|
||||||
|
jfc.setDialogType(JFileChooser.SAVE_DIALOG);
|
||||||
jfc.setSelectedFile(fileDest);
|
jfc.setSelectedFile(fileDest);
|
||||||
|
|
||||||
int returnVal = jfc.showDialog(this, null);
|
int returnVal = jfc.showDialog(this, null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user