RFR: JDK-8015739: Background of JInternalFrame is located out of JInternalFrame [v4]
Harshitha Onkar
honkar at openjdk.org
Wed Oct 5 01:18:06 UTC 2022
On Tue, 4 Oct 2022 18:31:01 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> That was my initial thought too. But, as the loopCount won't be really large (Eg. it is 15 for 300% scaling) and it wouldn't affect the performance drastically, I have retained the original approach to draw the bulk of the border.
>
> Let us leave it as is at this time. There are enough changes.
>
> At the same time, it's a good suggestion for optimization. We should consider it in a separate CR.
I agree, this code can be improved further using fillRect().
-------------
PR: https://git.openjdk.org/jdk/pull/10274
More information about the client-libs-dev
mailing list