|
Quick Lists
|
|
Bug ID:
|
4893795
|
|
Votes
|
0
|
|
Synopsis
|
Synth look and feel - Component text color seems incorrect
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
tiger
|
|
Release Fixed
|
1.5(tiger)
|
|
State
|
10-Fix Delivered,
Verified,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
4632193
|
|
Submit Date
|
21-JUL-2003
|
|
Description
|
Attached to this bug report are file's Example1.java and Example1.xml Example1.java loads the Synth Example1.xml formatted file and displays a button and a textfield. When you run the example, the button and textfield is displayed, notice the text color is white. Shouldn't the color be yellow or black as defined in the XML file? The components are white whenever they do not have the focus.
xxxxx@xxxxx 2003-07-21
|
|
Work Around
|
N/A
|
|
Evaluation
|
SynthTextFieldUI was setting the foreground by invoking getColor for
the enabled state and TEXT_FOREGROUND on the SynthStyle. Problem with this
is that getColor, for enabled, will pass straight through to the component so
that you would never get the color specified in the style. Right thing to do
is to invoke getColorForState which will NOT call into the component.
xxxxx@xxxxx 2003-09-12
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |