• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JTabbedPane Problem

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a scenario where in i have five tabs and a text box in the first tab. I have set the Mnemonics for all the tabs. For one of the tab, I have set 'O' as the Mnemonic. When the application is started, initially i am in the first tab. I clicked on the text field and pressed Alt+O, but the tab which had the Mnemonic set to 'O' is not displayed. I got rid of the focus from the Text Field and pressed Alt+O, the tab is displayed successfully. But its working fine for all the shortcuts except for 'O', irrespective of the focus on TextField. I think when the focus is on the Text Field the key press(Alt+O) event is consumed.
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic