I have a swing app with lots of components and stuff. I want to place a Container/Jpanel on top of everyting else that is invisible that contains other component which are visible.
I can make the panel invisible or not opaque and still show its child component but I also want the panel not to block events to underlying component. For example there is a button under the panel, the button is visible, but it can't be clicked since the panel is in the way.
How do I make it so that panel doesn't block underlying components from receiving input?