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

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Sep 28 07:20:48 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 one additional commit since the last revision:

  Test added

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10177/files
  - new: https://git.openjdk.org/jdk/pull/10177/files/a9b7c028..5cae3706

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

  Stats: 164 lines in 1 file changed: 164 ins; 0 del; 0 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