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

JFilechooser popup still left-to-right when JFilechooser is set to right-to-left

    XMLWordPrintable

Details

    • b08
    • x86
    • windows_xp

    Description

      FULL PRODUCT VERSION :
      java version "1.6.0-beta2"
      Java(TM) SE Runtime Environment (build 1.6.0-beta2-b84)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      JFilechooser popup (i.e. when right click the mouse on the JFilechooser panel) is still left-to-right when JFilechooser is set to right-to-left.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1- run the code below
      2- when the filechooser show, right click the mouse
      3- you will see that the popup is still left-to-right although JFilechooser is set to right-to-left ComponentOrientation

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      right to left JFilechooser popup
      ACTUAL -
      left to right JFilechooser popup

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.*;
      import java.awt.*;

      class bug
      {
      public static void main(String args[])
      {
      JFileChooser fc = new JFileChooser();
      fc.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
      fc.showOpenDialog(null);
      }
      }
      ---------- END SOURCE ----------

      Attachments

        Issue Links

          Activity

            People

              tr Tejesh R
              gmanwanisunw Girish Manwani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: