P
Paul Geisler
Hello,
when I issue a key typing sequence like
KeyEvent.VK_T, KeyEvent.VK_E, KeyEvent.VK_S, KeyEvent.VK_T,
KeyEvent.VK_ENTER
with Robot.keyPress / Robot.keyRelease(keycode) to a focussed AWT
TextField, i allways get "test " in the field on linux. The VK_ENTER
does not invoke the fields' action but instead is inserted as
whitespace. However, all other (non-java!) applications receive the
VK_ENTER properly, and insert an newline for example.
Any idea / workaround on this?
many thanks in advance,
Paul
when I issue a key typing sequence like
KeyEvent.VK_T, KeyEvent.VK_E, KeyEvent.VK_S, KeyEvent.VK_T,
KeyEvent.VK_ENTER
with Robot.keyPress / Robot.keyRelease(keycode) to a focussed AWT
TextField, i allways get "test " in the field on linux. The VK_ENTER
does not invoke the fields' action but instead is inserted as
whitespace. However, all other (non-java!) applications receive the
VK_ENTER properly, and insert an newline for example.
Any idea / workaround on this?
many thanks in advance,
Paul