RFR: JDK-8015739: Background of JInternalFrame is located out of JInternalFrame [v8]
Alexey Ivanov
aivanov at openjdk.org
Fri Nov 4 18:33:43 UTC 2022
On Fri, 7 Oct 2022 17:25:32 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java line 256:
>>
>>> 254: * @return the rounded value
>>> 255: */
>>> 256: private static int roundHalfDown(double d) {
>>
>> The sun.java2d.pipe.Region#clipRound() seems have the same purpose, but it also clip the double to int.
>
> @mrserb Thank you for the suggestion.
I guess `roundHalfDown` has been replaced with `Region.clipRound`, so it needs to be removed.
-------------
PR: https://git.openjdk.org/jdk/pull/10274
More information about the client-libs-dev
mailing list