List of usage examples for javafx.stage FileChooser getInitialDirectory
public final File getInitialDirectory()
From source file:hash.HashFilesController.java
@FXML protected void locateFile(ActionEvent event) { // FileInputStream fis = null; FileChooser chooser = new FileChooser(); chooser.getInitialDirectory(); chooser.setTitle("Open File"); List<File> list = chooser.showOpenMultipleDialog(new Stage()); list.stream().forEach((list1) -> { generateChecksums(list1);//from ww w. j av a2 s . c om });// filePathTextField.setText(files.getAbsolutePath()); // generateMD5(files); }