Hi,
Has anyone ever managed to get keyboard mnemonics working for JButtons
using Swing?
e.g.
OKButton.setMnemonic('o');
Under windows 95/8/NT, all of my code (including the SwingSet demo)
performs as expected, with the ALT key being used to activate the mnemonic
for both buttons and menu items. Under Linux, nothing happens at all.
This has never really been an issue of _prime_ importance, so I haven't
gotten round to resolving it till now. On linux, I've tested it on every
incarnation of Swing since 1.0, on every type of jdk (glic and lic5) since
jdk1.1.5 v7, on redhat 4.2, 5, 5.1 and debian 2, and on window managers
that include fvwm, fvwm95, afterstep, windowmaker, icewm and kde.
The absence of any posts regarding this topic on either this mailing list
or USENET leads me to believe that either every one has figured out a way
to get it to work via a meta key other than 'alt', or that no one has
really been bothered enough to care.
Please tell me it's assumption 1 ;)
thanks in advance,
Eu Hin
--
"...bottom line, Dilbert teaches you that your computer is your
friend while Quake teaches you not to use your grenade launcher
in a small room." - www.bluesnews.com
iiNet Technologies