RFR: JDK-8015739: Background of JInternalFrame is located out of JInternalFrame [v8]

Alexey Ivanov aivanov at openjdk.org
Thu Oct 6 14:15:29 UTC 2022


On Wed, 5 Oct 2022 21:49:10 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> test/jdk/javax/swing/JInternalFrame/InternalFrameBorderTest.java line 226:
>> 
>>> 224:         robot.mouseMove(x, y);
>>> 225: 
>>> 226:         for (int i = 0; i < 5; i++) {
>> 
>> Suggestion:
>> 
>>         for (int i = 0; i < BORDER_THICKNESS; i++) {
>> 
>> Is it the intention?
>
> Yes, that is correct.

Will you update it to use `BORDER_THICKNESS`?

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

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



More information about the client-libs-dev mailing list