Is it possible to put ImageView on Canvas in JavaFX?
问题 I am a newbie to javafx. I am developing an application in which I have a canvas and I have drawn several images in it. I want to add an ImageView on my canvas and implement a popup while clicking on the ImageView? Is there any possibilities with or without ImageView (buttons or any controls?) or is it restricted to use controls over canvas? I need some suggestions please. 回答1: You can stack an ImageView on top of a Canvas . Use a StackPane. You can later add mouse listeners to the ImageView