requestFocus is documented as 'Attempts to gain focus to the component'. But this is not working as expecting. I programmed a key to gain focus for a component for testing purpose. But it is not working. How to get focus for a component.