void (Graphics2D g2, JButton btn) { if (ExperimentalUI.isNewUI()) { Icon icon = comboBox.isEnabled() ? AllIcons.General.ChevronDown : IconLoader.getDisabledIcon(AllIcons.General.ChevronDown); Rectangle r = getArrowButtonRect(btn); icon.paintIcon(btn, g2, r.x + (r.width - icon.getIconWidth()) / 2, r.y + (r.height - icon.getIconHeight()) / 2); } else { g2.setColor(JBUI.CurrentTheme.Arrow.foregroundColor(comboBox.isEnabled())); g2.fill(getArrowShape(btn)); } }