https://kotlinlang.org logo
Title
s

spierce7

05/30/2021, 5:20 AM
Is there a way to control the color of menu bars at the top of windows on osx? I realize this isn’t specific to Desktop Compose, but all my attempts to do it through swing have failed. Has anyone figured it out?
The closest means I’ve found is something like:
val c: Container = JFrame.getFrames().first()
c.background = Color.red
This sets the entire background color for the frame, and because the menu bar is slightly transparent, it can tint the color, but this is definitely not what I’m looking for.