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
JXLayer might be what you're looking for, according to this post:
Wrap your container with the JXLayer and call JXLayer.setLocked(true) after that - all components inside will be disabled
JXLayer.setLocked(true)
alt text http://www.java.net/download/javadesktop/blogs/alexfromsun/2007.06.25/LayerDemo.PNG