@Override
		public void paintIcon( Component c, Graphics g, int x, int y ) {
			NoFocusButton button = (NoFocusButton) c;

			if( _tabPane.isShowCloseButtonOnMouseOver() && !button.isMouseOver() ) {
				Object property = _tabPane.getClientProperty( "JideTabbedPane.mouseOverTabIndex" );
				if( property instanceof Integer && button.getIndex() >= 0 && (Integer) property != button.getIndex() )
					return;
			}

			super.paintIcon( c, g, x, y );
		}
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