void (ToolbarComboWidget c) { c.setForeground(JBColor.namedColor("MainToolbar.Dropdown.foreground", JBColor.foreground())); c.setBackground(JBColor.namedColor("MainToolbar.Dropdown.background", JBColor.background())); c.setHoverBackground(JBColor.namedColor("MainToolbar.Dropdown.hoverBackground", JBColor.background())); c.setTransparentHoverBackground(JBColor.namedColor("MainToolbar.Dropdown.transparentHoverBackground", c.getHoverBackground())); Insets insets = JBUI.CurrentTheme.MainToolbar.Dropdown.borderInsets(); Border border = new EmptyBorder(insets); c.setBorder(border); }