void (@NotNull Component c, @NotNull Graphics g, int x, int y, int width, int height) { if (isEmptyVisible()) return; if ((mySideMask & SideBorder.LEFT) != 0) { getTabPainter().paintBorderLine((Graphics2D)g, getBorderThickness(), new Point(x, y), new Point(x, y + height)); } getTabPainter() .paintBorderLine((Graphics2D)g, getBorderThickness(), new Point(x, y + getHeaderFitSize().height), new Point(x + width, y + getHeaderFitSize().height)); }