void (Graphics2D g, int x, int width, int height) { g.setColor(myColor); if (isNarrow) { g.fillRect(x, 0, width - JBUIScale.scale(ROOT_INDICATOR_WHITE_WIDTH), height); g.setColor(myBorderColor); g.fillRect(x + width - JBUIScale.scale(ROOT_INDICATOR_WHITE_WIDTH), 0, JBUIScale.scale(ROOT_INDICATOR_WHITE_WIDTH), height); } else { g.fillRect(x, 0, width, height); } }