Hi all,

Now that NetBeans 12.3 is using a recent FlatLaf version, it would be possible 
to have a dark title bar under Windows 10. In beta 3, it’s still not enabled 
though. I always felt the Windows 10 default, light title bar with FlatLaf dark 
theme to be pretty distracting, especially in full screen mode. It’s also light 
if Windows itself is running in dark mode.

More information on the dark title bar with FlatLaf can be found here: 
https://github.com/JFormDesigner/FlatLaf/releases/tag/0.37 
<https://github.com/JFormDesigner/FlatLaf/releases/tag/0.37>

I have tweaked my NB dev version accordingly. Please see screenshots at 
https://i.imgur.com/P0Xmp6T.png <https://i.imgur.com/P0Xmp6T.png> (I think it’s 
not possible to send images to here). My current version is not mergeable 
though, as it’s just a quick PoC. It’s just about calling
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);

and setting
TitlePane.menuBarEmbedded=false

If desired, I could provide a merge request but I would need some questions to 
be answered first. Likely it is easier if someone with knowledge about NetBeans 
L&Fs would just add it.

Regards,
Mark

Reply via email to