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

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Sep 28 12:42:14 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 fix

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

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

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

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