void (@NotNull Graphics2D g2, int x, int y, int shift) { Color dark = DARK; Color light = LIGHT; g2.setPaint(new GradientPaint(x + shift, y, dark, x + shift + JBUIScale.scale(GRADIENT), y, light)); g2.fill(new Rectangle(x + shift, y, JBUIScale.scale(GRADIENT), getIconHeight())); g2.setPaint(new GradientPaint(x + shift + JBUIScale.scale(GRADIENT), y, light, x + shift + 2 * JBUIScale.scale(GRADIENT), y, dark)); g2.fill(new Rectangle(x + shift + JBUIScale.scale(GRADIENT), y, JBUIScale.scale(GRADIENT), getIconHeight())); }