JDK-8151303 : [macosx] [hidpi] JButton's low-res. icon is visible when clicking on it
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2016-03-04
  • Updated: 2016-09-08
  • Resolved: 2016-08-19
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.
JDK 9
9 b135Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Please run the following test:
http://cr.openjdk.java.net/~avstepan/8150724/webrev.01/
and try to click JButton / JToggleButton.
The red icon appears when mouse button is down (and changes back to blue when up).

JDK9 b104 + retina + OS X 10.10
Comments
The updated webrev is provided:http://cr.openjdk.java.net/~alexsch/8151303/webrev.02/ The review thread: http://mail.openjdk.java.net/pipermail/2d-dev/2016-June/007093.html
29-06-2016

please update test/java/awt/image/multiresolution/MultiresolutionIconTest.java after the fix (remove "@requires (os.family != "mac")")
14-03-2016