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

Focus is not correct when setting JFileChooser orientation RTL

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic

      Description

      After setting the choosers orientation from right to left, pressing on the tab key still moves the focus from left to right.

      See code below:
      ------------------------------------------------------------------------
      import java.awt.*;
      import javax.swing.*;

      public class JFileChooserTest {

          public static void main(String[] args) {
              JFileChooser chooser = new JFileChooser();
              chooser.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
              chooser.showOpenDialog(null);
          }
      }
      ------------------------------------------------------------------------

        Attachments

          Activity

            People

            Assignee:
            peytoia Yuka Kamiya (Inactive)
            Reporter:
            sjchan Steven Chan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: