Java, Fedora Core 6, AltGr, and key events
I've run into something of a puzzle. I'm trying to capture key events in Java, with the Fedora Core 6 operating system. The system is currently set to a typical U.S. English setup, and I'm trying to change things to German.
Also, I'm using Sun's JRE, both 1.4.2_13 and 1.5.0_11.
A colleage and I were trying to see what could be done about the AltGr key, which doesn't seem to generate events when using Sun's KeyEventDemo program.
However, we've noticed that the desktop GUI (we're using the Gnome layout as the FC6 installer sets it up), has what appears to be two separate options for setting the keyboard.
The first: System -> Preferences -> Keyboard
The second: System -> Administration -> Keyboard
Now at some point, we actually had things set such that the Java KeyEventDemo program would actually capture the keypress and key release of AltGr - but for the life of us, we can't remember what we did or how, and are now unable to duplicate that scenario.
Can anyone offer me any guidance on this? Thanks in advance! Ideally we'd need the same info for UK keyboards as well.