private int getWidthInRightToLef() {
			JTable table = header.getTable();
			return (table != null && table.getAutoResizeMode() != JTable.AUTO_RESIZE_OFF)
				? table.getWidth()
				: header.getWidth();
		}
Get column index for given coordinates.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTableHeaderUI.java