Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8298083

The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working

    XMLWordPrintable

Details

    • b29
    • generic
    • generic
    • Verified

    Backports

      Description

        For some reason the next properties stopped working in JDK 20
                UIManager.getDefaults().put("CheckBox[Disabled].textForeground", checkboxColor);
                UIManager.getDefaults().put("RadioButton[Enabled].textForeground", radioButtonColor);

        Uncovered here: https://github.com/openjdk/jdk/pull/10755#issuecomment-1284626373

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                serb Sergey Bylokhov
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: