void (Graphics g, JComponent c) { if (!(c instanceof ComboBoxAction.ComboBoxButton button)) return; if (c.isOpaque()) paintBackground(g, button, button.getBackground()); if (button.isEnabled() && button.getClientProperty(HOVER_PROP) == Boolean.TRUE) paintHover(g, button); paintContents(g, button); }