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

Need to add a DEFAULT value to ComponentOrientation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0, 1.3.0
    • client-libs



      Name: clC74495 Date: 04/13/99


      Please add a member variable "DEFAULT" to ComponentOrientation
      (ComponentOrientation.DEFAULT). DEFAULT should be interpreted at
      runtime to RIGHT_TO_LEFT or LEFT_TO_RIGHT based on the orientation
      of component's parent. If the component has no parent, DEFAULT
      should be interpreted based on the locale, i.e it should be
      interpreted to RIGHT_TO_LEFT if the locale is Arabic or Hebrew
      and LEFT_TO_RIGHT otherwise.

      This is very important because it makes BIDI support completely
      transparent for Swing developers. If the developer builds his
      application using only Swing components, all components will
      appear in RIGHT_TO_LEFT mode for Arabic and Hebrew locale and
      LEFT_TO_RIGHT otherwise, without requiring him to do any special
      coding to support BIDI.
      (Review ID: 56872)
      ======================================================================

            bcbeck Brian Beck (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: