How to stop click in Component from automatically focusing first child

I have a main Component with a bunch of child components.

When you click anywhere in the background of the parent, it automatically gives focus (a focus outline) to the first child component. How do you disable this behavior? I’ve tried everything I can think of.

In the main (parent) component constructor, I have tried setting:

    setInterceptsMouseClicks(false, false);

…and it still automatically focuses the first child component with a click.

OK… I think I’m starting to get it. Counter intuitive, but it seems if you want the first child component NOT to be given focus by a click in the parent component, you have to set the parent component to setWantsKeyboardFocus(true) - even if you then do nothing with that focus.