This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When using Alt+Tab to switch from the netBeans IDE to some other Windows application, the 'File' menu-item on the menu-bar remains focussed. So if we are in the middle of a java class in the editor, and Alt+Tab to another application, and then Alt+Tab back to the IDE, one has to hit the 'Esc' key before the class editor regains focus from the menu-bar. This bug is erratic but can be reproduced more often than not. This is peculiar to the Windows look-n-feel, as the Metal look-n-feel works perfectly well.
I guess this is Win LF only because in Win LF, pressing Alt key means start of main menu traversal with keyboard.
*** Issue 42499 has been marked as a duplicate of this issue. ***
I saw the same bug report and closed it as WONTFIX yesterday. The problem lies in the Swing impl of Windows L&F not in NB
*** Issue 46826 has been marked as a duplicate of this issue. ***
closed
*** Issue 104901 has been marked as a duplicate of this issue. ***
*** Issue 118378 has been marked as a duplicate of this issue. ***