-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
jdk6u10 b22, WinXp Sp2, SDK build 275
Moved from bug # 6694008
In the test I have 5 textFields with background, border enabled properties set in various combinations.
(Please refer to the test and the snapshot attached.) There are several issues in each of these:
Issue 1:
By default when the UI comes up, the end of the contents are shown in all textfields rather than the contents at the start.
Issue2:
TextField5: TextField in enabled state, with a Border, RadialGradientPaint as background shows a black line above it. (This was seen on a machine with D3D enabled as well as disabled.)
Issue3:
TextField1 & TextField3: Disabled TextField with a default background appear with a white border, irrespective of whether they have the attribute borderless set to true or false.
TextField4 & TextField5 : Disabled textfield with a radial gradient paint as background have a border in the same shade of radial gradient paint whereas
TextField2: Disabled textfield with a Beige Color set as background has white border. - The behavior needs to be consistent.
This was tested with jdk6u10 b22, WinXp Sp2, SDK build 275.
---------Submitted by srinivas.mandalika [2008-04-25 10:16]
The problem here is that our painting of the background assumes that we should fill the entire component with the background color. That seems to be wrong for Nimbus.
----------Evaluation 1 shannon.hickey [2008-04-25 15:36]
In the test I have 5 textFields with background, border enabled properties set in various combinations.
(Please refer to the test and the snapshot attached.) There are several issues in each of these:
Issue 1:
By default when the UI comes up, the end of the contents are shown in all textfields rather than the contents at the start.
Issue2:
TextField5: TextField in enabled state, with a Border, RadialGradientPaint as background shows a black line above it. (This was seen on a machine with D3D enabled as well as disabled.)
Issue3:
TextField1 & TextField3: Disabled TextField with a default background appear with a white border, irrespective of whether they have the attribute borderless set to true or false.
TextField4 & TextField5 : Disabled textfield with a radial gradient paint as background have a border in the same shade of radial gradient paint whereas
TextField2: Disabled textfield with a Beige Color set as background has white border. - The behavior needs to be consistent.
This was tested with jdk6u10 b22, WinXp Sp2, SDK build 275.
---------Submitted by srinivas.mandalika [2008-04-25 10:16]
The problem here is that our painting of the background assumes that we should fill the entire component with the background color. That seems to be wrong for Nimbus.
----------Evaluation 1 shannon.hickey [2008-04-25 15:36]