Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accelerator for a JButton?  RSS feed

 
Phil Chuang
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't suppose there's an easy way to set up an accelerator for a JButton? I've searched the forum but it doesn't seem to have any conclusive answer on how to do it. I guess I could always have some sort of hidden JMenuItem, but i'm wondering if there's a more elegant solution.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!