1

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.

6
  • Do you have a demonstrable example of your problem? Jan 23, 2014 at 0:48
  • No, all I have is the existing code base which is huge. Jan 23, 2014 at 1:18
  • Okay, will create one Jan 23, 2014 at 1:28
  • Just FYI, any internalframe that has TSSOptionPane while closing it allows the ALT+ key work normally and also for any other screens that extend from JDialog the ALT+key is working, any ideas why? Jan 23, 2014 at 6:05

0

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.