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

Renderer and Editor of swing must render text in same way for a given text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • client-libs

      By default renderer and editor of a component must behave similarly and render text in the same order.

      If a text in which both arabic/hebrew and english is set on a component. The renderer puts the text in proper order taking into consideration the direction of the text. But when the same text is edited, the editor shows the text in different order. This confuses the user who tries to enter a text.

      In attached sample code the text -> "THE YEAR 1958 <hebrew characters>" is set.
      When this entry is edited, the text shown on editor is "<hebrew characters> THE YEAR 1958".

      The same is noted for editable-combobox. When an entry is selected and its displayed the text changes its direction.

            peytoia Yuka Kamiya (Inactive)
            rmenonsunw Rakesh Menon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: