void (Graphics g, ActionButtonComponent actionButton, Icon icon, int x, int y) { if (icon != null) { boolean isDark = ColorUtil.isDark(myEditor.getColorsScheme().getDefaultBackground()); super.paintIcon(g, actionButton, IconLoader.getDarkIcon(icon, isDark), x, y); } }