I want to know if there is a way to set the hover style of a JavaFX ManuItem without add a stylesheet.
for Node I normally use: this.setOnMouseEntered(e -> this.setStyle(initialStateCss + hoverStateCss));
and this.setOnMouseExited(e -> this.setStyle(initialStateCss));
But for MenuItem this events are not available. Someone have an idea of how to do it?
Thanks in advance!