Applet hears keyboard commands again, though it is still necessary to click inside the view at least once (as before, when it was working).