Java 7 - JLayer, no LockableUI

702 Views Asked by At

Having never before used J(X)Layer, I can see references to LockableUI over the internet. But it looks , in Java 7, like all we have of seemingly big 'parent' API (JX...) is two classes JLayer and LayerUI.

Is there some 'hidden' way of blocking JLayer's contents I haven't found yet, or do we handcraft this?

One way I can see is registering JLayer via setLayerEventMask and then meticulously eating the input events with InputEvent.consume().

Not a big deal, but as JLayer seems a natural way to disable it's contents, so maybe it's already there somewhere?

0

There are 0 best solutions below