Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: How to register a key event to a frame

 
Flavio Nobili
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all,
I would like to capture key events in a frame. First I've tried to use the registerKeyboardAction method, like this:

But it didn't work, and I found that this method is obsolet. So I tried to use ActionMap and InputMap:

But it still doesn't work. How can I do that?
Regards,
Fl�vio.
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fl�vio,
If you're not getting your question answered here you might want to delete this topic and post the same question in the Swing / JFC / AWT forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic