Ah ha! that would explain the current problem I have on my old fvwm2.0
stuff.
ALT - CURSOR KEYS shift across Virtual Screen
Look at the File menu title, set if the F is underlined.
Look at the Ok button see if the o is underlined.
I had a problem a few months ago where my .fvwmrc file removed
decorations from any transient window! Consequently anything derived
from Dialog could not be resized !!!!
(And I thought it was the JDK too.)
Pete
BTW: Where can I get a copy `xev' I cant find it on system at home
______________________________ Reply Separator _________________________________
Subject: Re: Working Button mnemonics under Linux Java?
Author: Michael.Sinz ([EMAIL PROTECTED]) at lon-mime
Date: 15/10/98 17:42
On Thu, 15 Oct 1998 12:29:30 -0400 (EDT), Jim Burmeister wrote:
>Eu Hin Chua <[EMAIL PROTECTED]> wrote:
>
>> 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.
>
>Swing button mnemonics work just fine for me, both in standalone buttons
>and menus. I've used them in my own code, and I also just checked the
>SwingSet demo and it works OK too. I did nothing special to set them up;
>pressing Alt+key has always just worked.
>
>Here's my setup:
>
> Red Hat Linux 5.0 w/upgraded glibc libraries
> Blackdown JDK 1.1.6v4a
> Swing 1.0.3
> Metro-X 4.3 X server
>
>Chances are, the problem is not with the JDK; it's with the way you have your
>X server configured. Are you able to use the Alt key in other X applications?
>Check your .xinitrc or .xsession script for "xmodmap" commands; if you've used
>xmodmap to reconfigure your keyboard, the Alt keys might be generating keysyms
>other than what the JDK is expecting. You can use the "xev" program to see
>whay keysyms your Alt keys are generating; here's what the output looks like
>on my system, for the left and right Alt keys respectively. The keysym on
>the third line is what's important: it should be "Alt_L" and "Alt_R".
Note also that many users may have the window manager set up to use
the alt key for their own use. Many of the alt key strokes a friends
machine do window operations or scrolling operations or desktop operations.
>-Jim Burmeister, Metro Link Incorporated <[EMAIL PROTECTED]>
Thanks for your answer Jim - There are so many places where the
configuration in unix systems can "confuse" users.
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz