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

XMLWordPrintable

      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.

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

            Unassigned Unassigned
            vakulova Vera Akulova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: