Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about JMenu.setMNemonic(KeyEvent.VK_alt);  RSS feed

 
Q Rs
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have discovered I can enable the alt key Mnemonic on my initial desired JMenuBar JMenu.

However, I want a second MNemonic option so that when I press alt a second time, it will

then close that pull down menu. Is it possible to do this with one method,

and without resorting to an entire action event that checks for when the menu happens to be open,

and a second pressing of the alt key?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!