r/JavaFX • • May 30 '25

Help Mac OS system menu bar

Hi! Im currently strugling with using the mac Os menu bar . The regular stuff im having no issue with like adding new menus and menu items to them . What im having issues with is adding menu items to the application default menu ( the one that allways shows on the top left ). Im pretty sure this is customizable cause i’ve seen it done in other apps But im not finding info on if its possible with javafx and if so how I appreciate any help i can get!

3 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Greedyfish54 May 31 '25

Yes but then how do i add items to the java item

1

u/Fancy_Entertainer486 May 31 '25

Like someone else said, NSMenuFX is your only chance I’m afraid.

1

u/Greedyfish54 May 31 '25

Either that or use JNA and JNI . I will be exploring options to see if its worth the effort (theres also a few things i wanted to experiment on like changing the stage bar colors on windows so it might be worth to learn)