RFR: JDK-8290469: Add new positioning options to PassFailJFrame test framework [v11]

Alexey Ivanov aivanov at openjdk.org
Tue Aug 23 14:46:34 UTC 2022


On Tue, 23 Aug 2022 05:21:48 GMT, Prasanta Sadhukhan <psadhukhan at 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



More information about the client-libs-dev mailing list