• Post Reply Bookmark Topic Watch Topic
  • New Topic

sugashini  RSS feed

 
sugashini justin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I want to control my buttons in keys instead of mouse. I used setMnemonic.Now its working after clik only,but i want to use shortcut keys directly, how can i solve it?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use setMnemonic(char), you need to press ALT+char to activate the button in the resulting application, not just char by itself.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!