JDK-8032219 : [macosx] Scrollbars looks bad under retina in Motif and Metal L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u40,8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2014-01-18
  • Updated: 2015-02-25
  • Resolved: 2014-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u20Fixed 9 b12Fixed
Related Reports
Relates :  
Relates :  
Scrollbars leave artifacts during scroll. See attached screenshot.
The problem became visible, when we draw a border across the component using drawLine, and expected that fillRect will clear a border of the component. This is incorrect, because in case of the scaled graphics(retina) some part of the line can be placed outside of the rectangles bounds. See additional information here: https://bugs.openjdk.java.net/browse/JDK-8011764 In the fix new methods were added to draw the lines using fillRect.

Same problem affects SliderUI as well.