-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
01
-
x86
-
windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2069588 | 5.0 | Leif Samuelsson | P3 | Closed | Fixed | tiger |
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)
======================================================================
- backported by
-
JDK-2069588 XP L&F: REGRESSION: setBackground has no effect on JTextField in Windows XP
-
- Closed
-
- relates to
-
JDK-5080144 REGRESSION: XP L&F: JTextField.setEditable() does not change background color
-
- Resolved
-
-
JDK-4919687 XP L&F: setBackground doesn't work on JtextField in JTable
-
- Resolved
-