protected void updateNativeTitleBarHeightAndHitTestSpotsLater() {
		laterCounter++;
		EventQueue.invokeLater( () -> {
			laterCounter--;
			if( laterCounter == 0 )
				updateNativeTitleBarHeightAndHitTestSpots();
		} );
	}
Returns whether windows uses native window border and has custom decorations enabled.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTitlePane.java