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

default font name and size for JEditorPane, JLabel and JToolTip are differ for some LAFs

    Details

      Description

      See attached test JToolTipHtmlTextTest.java (compile and run). The test display JToolTip (at the top) and JEditorPane (at the bottom) with html content. These components look the same in the Nimbus LAF, but look different in the Windows, Metal, Motif and Aqua LAFs (see attached screenshots).

      Tested with different builds jdk7 (7b148, 7u21b04), jdk6 (6u41b01) - not a regression.

        Attachments

        1. AquaLAF.png
          27 kB
          Vera Akulova
        2. b.jpg
          150 kB
          Michael Wang
        3. GTKLAF.png
          22 kB
          Vera Akulova
        4. JToolTipHtmlTextTest.java
          2 kB
          Vera Akulova
        5. MetalLAF.png
          9 kB
          Vera Akulova
        6. MotifLAF.png
          14 kB
          Vera Akulova
        7. NimbusLAF.png
          9 kB
          Vera Akulova
        8. ubuntu18.04-GTKLAF-JDK13b29.png
          102 kB
          Tina Meng
        9. WindowsLAF.png
          9 kB
          Vera Akulova

          Activity

            People

            • Assignee:
              trebari Tejpal Rebari
              Reporter:
              vakulova Vera Akulova (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: