Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8171845

The bold font doesn't change when switch "Dialog","Serif" and "Monospaced".

    Details

    • Resolved In Build:
      b153
    • CPU:
      x86
    • OS:
      solaris_11

      Description

      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

        Attachments

        1. Dialog.jpg
          Dialog.jpg
          254 kB
        2. Monospaced.jpg
          Monospaced.jpg
          273 kB
        3. Serif.jpg
          Serif.jpg
          252 kB

          Activity

            People

            • Assignee:
              prr Philip Race
              Reporter:
              tonyli Tony Li
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: