I want to create menu like "Firefox (Three horizontal line - top right side) Menu". I don't know how to create this line of overlay menu in FXML. Have anybody any idea about this?
Thank a lot.
I want to create menu like "Firefox (Three horizontal line - top right side) Menu". I don't know how to create this line of overlay menu in FXML. Have anybody any idea about this?
Thank a lot.
Here an example to give you a hint, further improvements and modifications are up to you:
The lines are put into MenuButton's graphic property. Since menubutton has an triangle arrow, we need to hide it by looking it up.
Alternatively, instead of using
Line
you can put a SVG image (String) to shape property of the button.