JDK-4999182 : Renderer and Editor of swing must render text in same way for a given text
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-02-23
  • Updated: 2004-02-24
  • Resolved: 2004-02-24
Related Reports
Duplicate :  
Description
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.

Comments
EVALUATION ###@###.###, you usually like to take these kinds of Swing bugs. If you'd rather not own it, please let me know and I'll re-assign it. ###@###.### 2004-02-23 This is a duplicate of 4701238. ###@###.### 2004-02-24
23-02-2004