You can simply create an image using
Image image = new Image(selectedFile.toURI().toString());
and then put it in ImageView:
previewPicture.setImage(image);
, . , , , , , . , , . Image, URL-, . 240 ( ) ( , ):
Image image = new Image(selectedFile.toURI().toString(),
240,
240,
true,
true,
true
);
.