Deadkeys and ALT-GR on linux
- From: mzi@xxxxxxxxx
- Date: Tue, 20 Nov 2007 14:35:27 +0100
Hello,
**My problem is**
I have been trying for many days to get deadkeys and Alt-gr-modified keys
working in SWING components, with no success. There are many bug reports
about that kind of problem, all of them are marked FIXED in mustang...
**I am using**
-java version "1.6.0_03";
-on Kubuntu 7.10 ;
-with a belgian keyboard.
**I have tried**
1/ printing the events. Apparently, events are well transmitted (keynames
are in french, sorry), but they seem to be poorly "analysed":
a) deadkey circumflex
params= KEY_PRESSED,keyCode=130,keyText=Accent circonflexe,keyChar=Undefined
keyChar,keyLocation=KEY_LOCATION_STANDARD
KeyChar: ?????? = 65535 KeyCode: 130 Modifiers: 0
keyText= Accent circonflexe
params= KEY_RELEASED,keyCode=130,keyText=Accent
circonflexe,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_STANDARD
KeyChar: ?????? = 65535 KeyCode: 130 Modifiers: 0
keyText= Accent circonflexe
b) Alt-GR + à (should output } on a be kbd)
params= KEY_PRESSED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar=Undefined
keyChar,keyLocation=KEY_LOCATION_UNKNOWN
KeyChar: ?????? = 65535 KeyCode: 0 Modifiers: 0
keyText= Unknown keyCode: 0x0
params= KEY_PRESSED,keyCode=0,keyText=Unknown keyCode:
0x0,keyChar='à',modifiers=Alt graphe,extModifiers=Alt
graphe,keyLocation=KEY_LOCATION_UNKNOWN
KeyChar: à = 224 KeyCode: 0 Modifiers: 32
keyText= Unknown keyCode: 0x0
2/ Changing the AWT_TOOLKIT variable to MToolkit.
Alt-GR combinations work well, but there is still no deadkey handling and a
very poor/slow support of other X11 events (mouse click, etc.).
Any idea? Thanks for your help.
--
mzi
.
- Prev by Date: Re: Table Model from Bean
- Next by Date: Screen Resolution
- Previous by thread: Re: jpanel export as pbm image
- Next by thread: Screen Resolution
- Index(es):