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

F1 key for Help  RSS feed

Leendert Roenhorst
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use the F1 key for the implementation of help. Help has to be fired whenever the F1 key is pressed, no matter where the focus is. I could use inputmaps and actionmaps for this matter, only I use the MVC model, where I use one controller for all the functions of the application. This controller is an actionlistener, I don't want it to be an action. It is an KeyListener as well, but with keyevents the component has to have the focus.
I don't have and I don't want a menu, so I can't use accelarators as well.
Has someone a solution ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!