I have many and varied questions about focus management in java 1.4, if anyone could direct me to a great source of information on that subject I would appreciate it. One specific question I have has to do with KeyListeners. In 1.3 I was able to add a key listener to a JFrame which may have various other objects, lets say it has a scroll pane which includes a text area. When the frame had focus (one of the components held the focus) key events would fall through to the key listener on the frame. I could set up a key listener on a component that may consume some key events which would then not get to the listener on the frame, etc. In 1.4 this does not work, key events seem to be only visible to the actual component that has focus. Is that the way it really is, or am I missing something?? TIA Shane
There looks to be a good reference to the new 1.4 Focus API here (It's a PDF from JavaOne 2001). I haven't used any of it yet, but there seem to be lots of complaints about things working differently in the Java Bug Database.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.