The easiest way to reproduce this is to login to a SunRay that has
a US keyboard attached. Start up a simple Java application that
puts up a TextField. Type a few letters. Then unplug the keyboard
and plug in a non-US keyboard, eg., German. Type a letter that
has a different location, such as the 'Y' on German that would be
'Z' on US. Note that a 'Z' still appears instead of 'Y'.
After the keyboard is swapped on a SunRay, the first key that is
pressed causes the X server to notice that the key event from
the DTU has a different country code, so it reads in the
description for that keyboard, remaps, and sends out a MappingNotify
to interested clients. At that point AWT should refresh its notion
of the keycode=>keysym mapping.
###@###.### 2004-09-09
###@###.### 2004-09-10