Color (boolean active) { JBColor activeBG = JBColor.namedColor("MainToolbar.background", titlePaneBackground()); if (active) { return activeBG; } else { return JBColor.namedColor("MainToolbar.inactiveBackground", activeBG); } }