After a little investigation, although Menu does inherit onAction from javafx.scene.control.MenuItem, it is not possible to use it. There is a work around by adding a label to the Menu node. If I can get it working elegantly I'll post the solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.