JDK-4815063 : Component orientation does not work for JEditorPane
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:1.3.0,1.3.1_07,1.4.1
Priority:P2
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic,x86
Submitted:2003-02-07
Updated:2003-03-28
Resolved:2003-03-21
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
EVALUATION
Committed to Tiger.
###@###.### 2003-02-07
The basic problem here is that the text justification in a styled text does not honor the component orientation, while plain document does. This is simply because the Paragraph view for the style text does not take RUN_DIRECTION attribute into account.
Also I had to disable this logic for the BasicTextFieldUI and SynthTextFieldUI, which are subclasses of the ParagraphView. The reason is that they have their own text justification handling which is BIDI aware.
###@###.### 2003-03-12