-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
generic
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.
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.
- duplicates
-
JDK-4701238 REGRESSION: Bidirectional text not working in JTextComponents
-
- Closed
-