-
Bug
-
Resolution: Fixed
-
P2
-
9
-
solaris11.3-x64,jdk9b142(64bit)/jck9b48
-
b153
-
x86
-
solaris_11
Testsuite name:JCK manual
Test name(s):api/javax_swing/interactive/JTextFieldTests.html#JTextField
Product(s) tested:JDK 9b142 (64bit)
OS/architecture:Solaris11.3-x64
Case Instruction:
This test verifies the behavior of the setFont() methond.A JTextField,three comboxes,and a button are shown below.The textfield's font can be changed by using the comboboxes to select the font name,style,and size,and clicking the "Set font" button.Please select the textfield's font and verify that it gets set correctly when the "Set font"button is clicked.
Issue:
1)In JTextField,If Font style is "Bold", the font doesn't change when we tried to switch "Dialog","Serif","Monospaced".
Please refer the attached images Dialog.jpg,Serif.jpg,Monospaced.jpg.
2)Note, there is the same issue without motifLAF.
The following case have same issue:
api/javax_swing/interactive/JTextAreaTests.html#JTextArea
api/javax_swing/interactive/JLabelTests.html#JLabel
Test name(s):api/javax_swing/interactive/JTextFieldTests.html#JTextField
Product(s) tested:JDK 9b142 (64bit)
OS/architecture:Solaris11.3-x64
Case Instruction:
This test verifies the behavior of the setFont() methond.A JTextField,three comboxes,and a button are shown below.The textfield's font can be changed by using the comboboxes to select the font name,style,and size,and clicking the "Set font" button.Please select the textfield's font and verify that it gets set correctly when the "Set font"button is clicked.
Issue:
1)In JTextField,If Font style is "Bold", the font doesn't change when we tried to switch "Dialog","Serif","Monospaced".
Please refer the attached images Dialog.jpg,Serif.jpg,Monospaced.jpg.
2)Note, there is the same issue without motifLAF.
The following case have same issue:
api/javax_swing/interactive/JTextAreaTests.html#JTextArea
api/javax_swing/interactive/JLabelTests.html#JLabel