private Object getClientProperty( String key ) {
		JTextComponent c = getComponent();
		if( c == null )
			return null;

		Object value = c.getClientProperty( key );
		if( value != null )
			return value;

		Container parent = c.getParent();
		if( parent instanceof JComboBox )
			return ((JComboBox<?>)parent).getClientProperty( key );
		if( parent instanceof JSpinner.DefaultEditor ) {
			parent = parent.getParent();
			if( parent instanceof JSpinner )
				return ((JSpinner)parent).getClientProperty( key );
		}
		return null;
	}
Caret that can select all text on focus gained.
Also fixes Swing's double-click-and-drag behavior so that dragging after
a double-click extends selection by whole words.

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatCaret.java