Hi Gregg, I don't know why this happens, but if you want to catch this event to know, that the JTextField will lose the focus, then I would better do it with a FocusListener. Anyway, it is strange. I could imagine that the Focus behavior will catch the key event somehow. And then the key event will be lost. Rene [ July 11, 2002: Message edited by: Rene Liebmann ]
look at this bug report on Sun's site... down in the "Evaluation" section it shows an example of setting things in the InputMap... maybe you could clear out the InputMap of your JTextArea or replace the action that is invoked in the InputMap?
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Actually I figured it out. YOu have to disable the traversable tabbing event and just handle it yourself. So when you press tab, you capture the keyPressed Event, and after you do whatever you do, you handle going to the next focusable component you want it to go to.