private Color getComboBackground(boolean opaque) {
    if (comboBox != null) {
      Color bg = comboBox.getBackground();
      Object value = comboBox.getSelectedItem();

      if (comboBox.isEnabled() && comboBox.isEditable() && editor != null) {
        return UIManager.getColor("TextField.background");
      }
      else if (!comboBox.isEnabled()) {
        return opaque ? UIManager.getColor("Button.background.opaque") : UIManager.getColor("Button.background");
      }
      else if (comboBox.isBackgroundSet() && !(bg instanceof UIResource)) {
        return bg;
      }
      else if (value instanceof ColoredItem) {
        return ((ColoredItem)value).getColor();
      }
      else if (!comboBox.isEditable()) {
        if (isPressed() || popup.isVisible()) {
          return UIManager.getColor("Button.intellij.native.pressedBackgroundColor");
        }
        else if (isHover()) {
          return UIManager.getColor("Button.intellij.native.focusedBackgroundColor");
        }
      }
    }
    return UIManager.getColor("Button.background");
  }
private Color getComboBackground(boolean opaque)