doing keyevent processing at the frame level, but making sure only the one that hasfocus is the one handling events