Save image file using dialog using java

Does anyone know how to save a file with a previously show dialog box to select where the location is and enter a file name?

thanks for your feedback, rate it

+3
source share
1 answer

You do not specify the technology, with swing you can use JFileChooserDialog, see here for more information.

JFileChooserDialog fcd = new JFileChooserDialog();
fcd.showSaveDialog(component);
+4
source

Source: https://habr.com/ru/post/1715796/


All Articles