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

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

XMLWordPrintable

    • b29
    • generic
    • generic
    • Verified

        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

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

                Created:
                Updated:
                Resolved: