-
Bug
-
Resolution: Fixed
-
P4
-
7, 7u65, 8u11, 9, 10, 11, 12, 13, 14, 15
-
win8-x64/JDK9b06(64bit)
-
b19
-
x86
-
windows_8
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);
...