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

Nimbus look and feel: issues with RTL

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0"
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      some issues with Nimbus look and feel in RTL

      - JTree arrow is not inverted
      - the default font for JTabbedPane/JMenu cannot be overridden
      UIManager.put("Menu.font" ...
      UIManager.put("TabbedPane.font ...

      this image shows these issues:
      http://i56.tinypic.com/107no20.png



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      - Create any JTree/JTabbedPane/JMenu

      override the default font with:
      UIManager.put("Menu.font" , new FontUIResource ( new Font("Tahoma", Font.PLAIN, 11)) );
      UIManager.put("TabbedPane.font , new FontUIResource ( new Font("Tahoma", Font.PLAIN, 11)) );

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      - Tahoma is the font for JTabbedPane/JMenu titles
      - JTree arrow is RTL
      ACTUAL -
      - default font is used for JTabbedPane/JMenu titles
      - JTree arrow is LTR

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            malenkov Sergey Malenkov (Inactive)
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: