• Post Reply Bookmark Topic Watch Topic
  • New Topic

FBN: Acclerator Keys

Akash Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have implmented Accelerator keys for JMenu items. It works fine, when
focus is on the JButton. But if focus is in the JTextField/JComboBox, accelerator keys do not work.How can i solve this.
I have "CTRL-X" -- Accelerator key for Exit,"CTRL-A" -- Accelerator key for About and "F1" -- Accelerator key for Documenation.
However, this is not true for "F1" which is Acclerator Key for "Documentation". When I press "F1" , it invokes doc file, irrespectve
of the control on the window.
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!