0

Possible Duplicate:
JavaFX 2.0 Activating a Menu like a MenuItem

I want a JavaFX MenuItem directly in the JavaFX MenuBar and not be forced to add a Menu and then a MenuItem.

More precise, I want a menu:

File   View     About
exit   view1
...

Where clicking on "About" leads directly to the about window.

It seems now I can only make a MenuBar, then add a Menu "About" and beneath add a MenuItem "About" as in:

File   View     About
exit   view1    about
...

How to work around this limitation of JavaFX MenuBar?

Community
  • 1
  • 1

0 Answers0