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

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Sep 28 09:41:56 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 three additional commits since the last revision:

 - Rename test
 - Rename test
 - Move test

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

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

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

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