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

JRadioButton subclasses do not use configured color for disabled foreground

XMLWordPrintable

    • beta
    • x86
    • windows_nt



      Name: krT82822 Date: 02/19/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      In Java look and feel (Metal), subclasses of JRadioButton (including
      JCheckBox) do not use the configured color for foreground when disabled.

      Actually, MetalRadioButtonUI uses "getBackground().darker()" to compute the
      disabled text color in the paint() method.
      It should call the getDisabledTextColor() method instead.

      (see also 4233965, 4199390)
      (Review ID: 100622)
      ======================================================================

            kereminsunw Konstantin Eremin (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: