JFormDesigner / FlatLaf

FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
https://www.formdev.com/flatlaf/
Apache License 2.0
3.43k stars 272 forks source link

Menu when clicking on window icon is not themed #576

Open Akjo03 opened 2 years ago

Akjo03 commented 2 years ago

Hello everybody,

I'm currently working on an app which uses FlatLaf Dark as its LAF and the menu that appears when clicking on the window icon is sadly in the default theme and not dark. I would love if it was similar to the way IntelliJ does it.

Here is a comparison between IntelliJ and FlatLaf Dark:

image

image

Thanks for all your hard work!

DevCharly commented 2 years ago

Thanks for reporting.

This is because this window system menu comes from Windows 10/11 in FlatLaf. In IntelliJ it is a Swing menu.

Maybe I can tell Windows 10/11 somehow to show a dark menu...

sysoutch commented 2 years ago

Many applications don't change the theme in that menu either (Discord, GitHub Desktop, ...). So no big deal for me.

Frank-99 commented 2 years ago

Perhaps could be best to have the option to override the default menu with a custom one? Otherwise stiling the system menu isn't necessary in my opinion