LayerUI intercepts events by default?
Hello, Alex; I hope this is not a stupid question but I fear it may be.
What should the behavior be if I use only an unmodified AbstractLayerUI?
I have a panel with a button on it. I wrap it in a JXLayer, and I set a new instance of AbstractLayerUI on it.
When I do this, the button is no longer reachable by tabbing or by mouse clicking.
By default, do LayerUIs intercept events?
What I would like is for tabs to be processed as usual (i.e. the button should get focus), and for mouse clicks to be processed as usual (i.e. when they're delivered to children), but when mouse clicks are on a "dead zone" (gray space) I'd like my layer to intercept them.
Is there a good recipe for this?