ALT + Key is not working in Java 5 swing after an internal frame is closed

182 Views Asked by At

We migrated our swing application from JAVA 1.4 to JAVA 5, the problem we are facing is that the ALT + Key is not working in Java 5 after an internal frame is closed. It works as long as any of the internal frames are not closed. It again works when it is minimized and maximized.

What I understand is, it is not getting the focus back to the Menu bar or it is not repainting the Menu properly which causes the ALT+key not to work.

Is there any specific reason for an already working code behaving like this, is this anyway related to the deprecated method setNextFocusableComponent which I don't think so.

Thanks in advance.

0

There are 0 best solutions below