I develop an appication in JavaFX. Alreadey I pick file from TableView and want to save it in another directory using FileChooser how can I do this?
public static void clickDownloadButton(String filename,Stage window){
File file = new File(filename);
FileChooser fileChooser = new FileChooser();
fileChooser.setTitle("Save file");
fileChooser.showSaveDialog(window);
}