Posted by jdt05
on May 28, 2009 at 12:40 PM PDT
I need a variety of the LockableUI but I'm not sure where to start.
I would be wrapping every component in the panel in a separate JXLayer with this UI.
I want to block the mouse, keyboard and focus events going to the underlying JComponent (button, textfield etc.) but I need to respond to mouse and mouse motion events on the JXLayer itself (i.e. detect that a mouse click has occured on a particular component without it falling through to the component). The other requirement is that if the component underneath changes (through programatically changing one of its properties) then it needs to be repainted.
Can anyone help give me a start? I'd really appreciate it, I started hacking around the LockableUI but haven't come up with anything...