now works: key event in applet