void (Graphics g) { // paint events may still arrive after UI switch until the entire UI is updated if (!LafManager.getInstance().getCurrentUIThemeLookAndFeel().getId().equals("macOSLight")) { return; } Icon icon = MacIconLookup.getIcon("comboRight", false, false, comboBox.isEnabled(), comboBox.isEditable()); if (getWidth() != icon.getIconWidth() || getHeight() != icon.getIconHeight()) { Image image = IconLoader.toImage(icon, null); StartupUiUtil.drawImage(g, image, new Rectangle(0, 0, getWidth(), getHeight()), null); } else { icon.paintIcon(this, g, 0, 0); } }