RFR: 8075916: The regression-swing case failed as colored text is not shown on disabled checkbox and radio button with Nimbus LAF [v5]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Sep 28 12:39:31 UTC 2022


> CheckBox.disabledText and RadioButton.disabledText color UIProperty is not honoured by Nimbus L&F when disabled text is drawn for JCheckBox and JRadioButton, so disabled text color was rendered incorrectly.
> Fix is to honour these UIProperty color if they are set by user, else use the color from the component or via getColorForState().
> 
> Closed test as mentioned in JBS is used to check the fix.

Prasanta Sadhukhan has updated the pull request incrementally with two additional commits since the last revision:

 - Test fix
 - Test fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10177/files
  - new: https://git.openjdk.org/jdk/pull/10177/files/f539b8fc..4cc2c226

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10177&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10177&range=03-04

  Stats: 256 lines in 2 files changed: 26 ins; 211 del; 19 mod
  Patch: https://git.openjdk.org/jdk/pull/10177.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10177/head:pull/10177

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



More information about the client-libs-dev mailing list