On Tue, 23 Aug 2022 05:21:48 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> Since this condition is documented, should we also implement check to handle 
> it by calling isShowing() and throw some warning/exception if its visible. We 
> do the opposite for getLocationOnScreen() where we throw exception if the 
> compoment is not showing.

It's more like a recommendation rather than a requirement. It is to avoid 
flickering when the window gets displayed for a very short period of time at 
its default position before being moved to its final position.

The same had happened to the instruction frame before Harshitha moved 
`setVisible(true)`.

-------------

PR: https://git.openjdk.org/jdk/pull/9525

Reply via email to