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

Setting setEditable( true | false) on TextField and TextArea colors does not change to text color

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21, 24, 25
    • client-libs
    • None

      Setting setEditable( true | false) on TextField and TextArea colors does not change to text color
      Step to reproduce
      ------------------------------
      1) Run open/test/jdk/java/awt/TextComponent/BackgroundTest.java
      Follow the test instruction.
      2) Observe the color of the non background green TextArea and TextField. Press "DisableText" button.
      3) Observe the color of the non background green TextArea and TextField.
      Press "EnableText"

      If you dn't see any difference between step(2) & step(3) bug is reproduced.
      This is observed on MacOS 15, MacOS 14, Ubuntu 24.04 & Ubuntu 25.04

            honkar Harshitha Onkar
            landrews Lawrence Andrews
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: