You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, when a non-focused window has it's alwaysOnTop property changed, either from false to true, or true to false, Swing starts to report it as having focus, and windowGainedFocus fires. The window does not actually get focused (which is correct), it's just wrongly reported as having focus, and is stuck in this state until it actually gets focused.