-
Bug
-
Resolution: Fixed
-
P4
-
7, 7u65, 8u11, 9, 10, 11, 12, 13, 14, 15
-
win8-x64/JDK9b06(64bit)
-
b19
-
x86
-
windows_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8359901 | 11.0.29-oracle | Trupti Patil | P4 | Resolved | Fixed | master |
JDK-8359902 | 8u471 | Trupti Patil | P4 | Resolved | Fixed | master |
Testsuite name: Regression
JDK/JRE tested: JDK9b06(64bit)
OS/architecture: win8-x64
Reproducible: Always
Reproducible on machine: win8-x64
Instruction:
This test requires Windows look and feel, just press Pass if you run it not on Windows.
When the test starts you'll see toggle buttons in three rows two of which are toolbars.
Make these buttons pressed, their background color must change to halftones between the button background colors and the ToggleButton
highlight color (it is shown in the square below).
If the background color does not change correctly for at least one button,the test fails.
Actual behavior:
The background color of the button can't be displayed refer to bug4128979.jpg and these buttons be pressed,their background color can't change to halftones between the button background colors and the ToggleButton highlight color.
source code contains the following statement:
JToggleButton cbut = new JToggleButton("DefaultBorder");
cbut.setBackground(Color.red);
c.add(cbut);
cbut = new JToggleButton("DefaultBorder");
cbut.setBackground(Color.green);
c.add(cbut);
cbut = new JToggleButton("DefaultBorder");
cbut.setBackground(Color.blue);
c.add(cbut);
...
JDK/JRE tested: JDK9b06(64bit)
OS/architecture: win8-x64
Reproducible: Always
Reproducible on machine: win8-x64
Instruction:
This test requires Windows look and feel, just press Pass if you run it not on Windows.
When the test starts you'll see toggle buttons in three rows two of which are toolbars.
Make these buttons pressed, their background color must change to halftones between the button background colors and the ToggleButton
highlight color (it is shown in the square below).
If the background color does not change correctly for at least one button,the test fails.
Actual behavior:
The background color of the button can't be displayed refer to bug4128979.jpg and these buttons be pressed,their background color can't change to halftones between the button background colors and the ToggleButton highlight color.
source code contains the following statement:
JToggleButton cbut = new JToggleButton("DefaultBorder");
cbut.setBackground(Color.red);
c.add(cbut);
cbut = new JToggleButton("DefaultBorder");
cbut.setBackground(Color.green);
c.add(cbut);
cbut = new JToggleButton("DefaultBorder");
cbut.setBackground(Color.blue);
c.add(cbut);
...
- backported by
-
JDK-8359901 The background color of the button can't be displayed and when pressed the button, the background color can not be changed in accordance with the case described.
-
- Resolved
-
-
JDK-8359902 The background color of the button can't be displayed and when pressed the button, the background color can not be changed in accordance with the case described.
-
- Resolved
-