private void paintCategoryLabel(Graphics g) {
      int offset = Math.min(g.getClipBounds().y, getHeight() - JBUIScale.scale(LABEL_HEIGHT));
      g.setColor(myStyle.myBackgroundColor);
      RectanglePainter2D.FILL.paint((Graphics2D)g, 0, offset, getWidth(), JBUIScale.scale(LABEL_HEIGHT));
      g.setFont(myStyle.myFont);
      g.setColor(myStyle.myTextColor);
      g.drawString(myName, JBUIScale.scale(16), offset + JBUIScale.scale(20));
    }
private void paintCategoryLabel(Graphics g)