@Override
	protected Rectangle getTabsTextBoundsAt( int tabIndex ) {
		Rectangle rect = super.getTabsTextBoundsAt( tabIndex );
		rect.x += getTabInsets( _tabPane.getTabPlacement(), tabIndex ).left;
		return rect;
	}
Actually does nearly the same as super.paintContentBorder() but
  - not invoking paintContentBorder*Edge() methods
  - repaint selection
flatlaf-jide-oss/src/main/java/com/formdev/flatlaf/jideoss/ui/FlatJideTabbedPaneUI.java