Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AWT TextArea not recognising focus with Tab key  RSS feed

mike h
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a TextField and a TextArea in my Frame. Each is in a separate panel (with other GUI stuff). The TextField is in the BorderLayout.NORTH and the TextArea in BorderLayout.CENTER.
When I TAB from the TextField into the TextArea, my first keypress is not recognised in the TextArea. However, if I click into the TextArea with my mouse, it works fine.
I'm wondering if this has to do with my focus events but I can't nut this out.
Any ideas? If code would be handy, I can post it no worries...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!