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

Harshitha Onkar honkar at openjdk.org
Fri Oct 7 17:28:37 UTC 2022


On Fri, 7 Oct 2022 02:07:28 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test updated
>
> 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.

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

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



More information about the client-libs-dev mailing list