This is probably an environment-based window, and until java defines a class for this (which in my opinion is not), you really can't do anything about it.
, , , null
File f = fileChooser.showOpenDialog(primaryStage);
if(f.getAbsolutePath().matches("regex")){
}
regex -
[.+]
regex,