• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

mnemonic and wiondows L&F

 
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have this code:

when i see it with default L&F, i get the letter E with underscore, but if i use this code:

my E letter does not appear with underscore...
what might i do in order to correct this?

TiA
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Miguel,

I think this is actually a "feature" :roll: of the Windows XP look and feel. Try this, make sure the window containing the button has focus, and then hold down the "Alt" key. The mnemonic will then be displayed, as long as the "Alt" key is pressed.
With all of the possible Look and Feel classes, it's hard to determine whats a feature, and whats a bug.
Hope that helps!

Darrin
 
miguel lisboa
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

make sure the window containing the button has focus, and then hold down the "Alt" key. The mnemonic will then be displayed, as long as the "Alt" key is pressed.


yes, it does work that way on all buttons

thank you
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!