• Post Reply Bookmark Topic Watch Topic
  • New Topic

is there a way to set an accelerator as alt+?

 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


this will set the key stroke for jmi as "ctr+x". is there anyway to set it as "alt+x"?


thank you
 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jmi.setAccelerator(KeyStroke.getKeyStroke(KeyStroke.getKeyStroke(KeyEvent.VK_X, KeyEvent.ALT_DOWN_MASK)));

ignore this thread...
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why? It will be a great reference for other people with the same problem.
 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:Why? It will be a great reference for other people with the same problem.



withdrawn. do not ignore this thread.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!