Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setMnemonic  RSS feed

 
Marco Alexandre
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi you all,

I am trying to do something using the class ButtonGroup and the class JButtonRadio, but I have just came across with something that I don't really undertand. Can anyone explain me what the above line does.


.setMnemonic(KeyEvent.VK_B);



Many Thanks
 
Marco Alexandre
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't worry replying because I already find the answer. It is a way of defining shotcuts. Thanks to Kaj.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!