-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
x86
-
windows_xp
When no background color is set for a particular component, the component is expected to inherit it from it's parent. This does not work for a button. I am setting a background color to a Frame and adding a button to it. The button still retains it's gray background and ignores the frame's background color. However, it inherits other properties such as Font and Foreground color. This works fine for other components.
This is reproducible atleast since 1.4 on Win32. Not reproducible on Solaris/Linux with XToolkit/Motif.
I have attached a sample test. Execute the sample test. If the button does not appear in yellow color, the bug is reproduced.
###@###.### 2005-03-27 16:20:02 GMT
This is reproducible atleast since 1.4 on Win32. Not reproducible on Solaris/Linux with XToolkit/Motif.
I have attached a sample test. Execute the sample test. If the button does not appear in yellow color, the bug is reproduced.
###@###.### 2005-03-27 16:20:02 GMT
- duplicates
-
JDK-6371452 Spec issues with foreground/background inheritance and defaults
-
- Closed
-
- relates to
-
JDK-6371588 TextField and TextArea never inherit foreground and background colors
-
- Closed
-
-
JDK-4148334 Button background color inheriting from frame
-
- Closed
-