<AWT Dev> [9] Review request for 8161273: [hidpi] The frame insets size is wrong on Linux HiDPI because it is not scaled.

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Tue Jul 19 11:36:18 UTC 2016


On 7/15/2016 10:24 AM, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8036915
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8161273/webrev.00/
>
> Frame insets sizes are scaled according to the hidpi scale.
    Is it possible to use scaleDown() method instead of directly 
dividing insets by scale "i.top / scale"?

   Thanks,
   Alexandr.
>
> --Semyon
>



More information about the awt-dev mailing list