How can I open JFileChooser with the Filename field filled in?
This image field below:
How do I set a name to default to this field?
You need to use the method setSelectedFile
JFileChooser jFileChooser = new JFileChooser();
jFileChooser.setSelectedFile(new File("fileToSave.txt"));
jFileChooser.showSaveDialog(parent);