I cannot figure out a way to disable a container AND its children in Swing. Is Swing really missing this basic feature?
If I do setEnabled(false) on a container, its children are still enabled.
My GUI structure is pretty complex, and doing a traversion of all elements below the container is not an option. Neither is a GlassPane on top of the container (the container is not the entire window).
To add to mmyers’s answer, disabling children is not an easy task (see this thread)