<AWT Dev>  Review request for 8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
semyon.sadetsky at oracle.com
Wed May 10 02:17:19 UTC 2017
Please review fix for JDK10:
The root cause of the issue is IME events are sent when always-on-top
state is set or cleared even during the window is not visible. In this
case requesting the window position causes the exception.
The fix introduces a check for window visibility before the calculation
of the IME status window position. The latter should not be shown when
the parent window is not visible so the IME window position is unnecessary.
More information about the awt-dev