As shown in the attached screenshot, I would like to change the color for the active title background (one with golden color), and the skyblue background of the underlying pane.
I've tried the following but it doesn't seem to work:
- Code: Select all
UIManager.getDefaults().put("DockableFrame.activeTitleBackground", Color.blue);
UIManager.getDefaults().put("JFrame.background", Color.gray);
I suspect I didn't use the correct key in the put() method and therefore not able to target the correct component. Could someone please help me on this one?
Any help would be appreciated, thank you.