filechooser java java fx code example
Example: javafx filechooser specific file
FileChooser fc = new FileChooser();
FileChooser.ExtensionFilter fileExtensions =
new FileChooser.ExtensionFilter(
"Web pages", "*.tpl", "*.html", "*.htm");
fc.getExtensionFilters().add(fileExtensions);