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

XP L&F: REGRESSION: setBackground has no effect on JTextField in Windows XP

    Details

    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Backports

        Description



        Name: rmT116609 Date: 05/15/2003


        FULL PRODUCT VERSION :
        java version "1.4.2-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2
        Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

        FULL OS VERSION :
        Windows XP

        A DESCRIPTION OF THE PROBLEM :
        setBackground has no effect on JTextField when running on Windows XP.
        The text field is always white no matter what color you set.

        This bug only occurs on Windows XP and does not occur on older versions
        of Windows.


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        JTextField text = new JTextField();
        text.setBackground(Color.red);


        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        A text field with red background.
        ACTUAL -
        A text field with white background.


        REPRODUCIBILITY :
        This bug can be reproduced always.

        Release Regression From : 1.4.1_02
        The above release value was the last known release where this
        bug was known to work. Since then there has been a regression.

        (Review ID: 185638)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  leifs Leif Samuelsson (Inactive)
                  Reporter:
                  rmandalasunw Ranjith Mandala (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: