RFR: 8341000: Open source some of the AWT Window tests [v3]

Jayathirth D V jdv at openjdk.org
Fri Oct 4 05:30:17 UTC 2024


On Thu, 3 Oct 2024 08:33:25 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> I am not sure whether we need to use EDT even for getting information of already drawn UI Components.
>> I was under the impression that only for UI updates we need to use EDT.
>> 
>> Now i am not sure whether we need to use EDT for getLocationOnScreen() also. Most of the already present tests don't use EDT for only getting information related to already rendered UI components.
>
> There are several tests which accessed UI components on EDT to get information and as per review comments it has been advised to do so. So, I thought `getWidth()` and `getHeight()` should also be accessed on EDT.

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21281#discussion_r1787172221


More information about the client-libs-dev mailing list