RFR: 8279586: [macos] custom JCheckBox and JRadioBox with custom icon set: focus is still displayed after unchecking

Alexander Zuev kizune at openjdk.java.net
Mon Jan 31 09:51:35 UTC 2022


Make border painting for the check boxes and radio buttons with custom icons
take into account the property that enables or disables the focus painting.
Add that case to the test.

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

Commit messages:
 - 8279586: [macos] custom JCheckBox and JRadioBox with custom icon set: focus is still displayed after unchecking

Changes: https://git.openjdk.java.net/jdk/pull/7286/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7286&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279586
  Stats: 19 lines in 2 files changed: 15 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7286.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7286/head:pull/7286

PR: https://git.openjdk.java.net/jdk/pull/7286



More information about the client-libs-dev mailing list