Javafx How to display image captured from web cam in imageview in another scene
Javafx How to display image captured from web cam in imageview in another scene I have this fxml layout. When I click on take photo it opens a screen for me to take a picture using web cam Dialog layout to take pic from web cam I want the picture captured on the web cam to replace the dummy image on the fxml layout beside take photo button.Here are my files: FXML layout containing dummy image and take photo button <HBox prefHeight="79.0" prefWidth="232.0" spacing="30.0"> <children> <VBox prefHeight="100.0" prefWidth="100.0"> <children> <ImageView fx:id="profilePic" fitHeight="99.0" fitWidth="118.0" nodeOrientation="INHERIT" pickOnBounds="true"> <image> <Image url="@../images/profile_photo.png" /> </image> </ImageView> </chil...