I have an FXML file that I'm using to allow user input when requested. Right now I just put it in a new stage and do Stage.show()
. I would like to not have it appear in a new window and behave more like a ContextMenu
.
Looking at ContextMenu
class it doesn't appear that I can set the content based off an FXML file. Is there a way to do this either with ContextMenu
or Popup
or some other class I am unaware of?