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.

To download the current JDK release, click here.
Other Other
1.4.1_03 03Fixed 1.4.2Fixed
Related Reports
Duplicate :  
Description
It works properly for a JTextField but NOT for a JEditorPane (type= text/plain and test/html).

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_03 mantis-beta tiger FIXED IN: 1.4.1_03 mantis-beta tiger INTEGRATED IN: 1.4.1_03 mantis-b19 mantis-beta tiger tiger-b05 VERIFIED IN: mantis-beta
17-09-2004

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
12-03-2003