I recently switched from Windows to MacOS. All my JFrame's titlebars are white, eventhough I am using darkmode.
White JFrame titlebar screenshot
How can I 'set the JFrame to darkmode' / make it appear grey like every other application?
I tried looking for matching methods but could not find any. I tried setting the background color to black, but the titlebar, of course, is not part of the background, therefore it stays white.