The task is to simply insert the application javafx image, code:
stage.setTitle("Image"); FlowPane root = new FlowPane (); root.setAlignment(Pos.CENTER); Image image = new Image ("C:\\Users\\MKS\\Desktop\\picture\\Hello.JPEG"); ImageView view = new ImageView (image); root.getChildren().add(view); stage.setScene(new Scene (root, 400, 400)); stage.show(); I specify the path to the image and everything, nothing works. What's my mistake?