• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mnemonic related issue

 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using a radio button which has text something like 'anand2" and I want to set '2' as a mnemonic to the radio button. I have set this mnemonic key and I can select this by ALT+2 combination. But I also want to select this radiobutton when Numpad's 2 key is pressed. Numpad is on right side of the keyboard.

I also tried to set KeyEvent.VK_NUMPAD2 as a mnemonic, but it doesn't work. In this case ALT+2 combination is also not working.

Can anybody tell me how should I set the mnemonic so that both ALT+2 and only Numpad 2 key combination will work ??

Regards,
Anand
reply
    Bookmark Topic Watch Topic
  • New Topic