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

          Activity

            People

            • Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              vakulova Vera Akulova (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: