-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
6
-
Cause Known
-
generic
-
generic
BugInfo:
========
Actually I loaded a RTF content in editor pane by using RTFEditorKit and apply the component orientation is RIGHT_TO_LEFT and I expected the rendered content should be aligned right to left but the rendered content shows in the pane is left to right.
JDK Info:
=========
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b94)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b94, mixed mode)
Steps to Reproduce:
===================
1. Download the attached java code and rtf file.
2. executed the code and then you can see the rendered content in the editor pane.
Expected Result:
================
Rendered content in the pane should be right to left alignment.
Actual Results:
================
Rendered content in the pane shows the left to right alignment.
========
Actually I loaded a RTF content in editor pane by using RTFEditorKit and apply the component orientation is RIGHT_TO_LEFT and I expected the rendered content should be aligned right to left but the rendered content shows in the pane is left to right.
JDK Info:
=========
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b94)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b94, mixed mode)
Steps to Reproduce:
===================
1. Download the attached java code and rtf file.
2. executed the code and then you can see the rendered content in the editor pane.
Expected Result:
================
Rendered content in the pane should be right to left alignment.
Actual Results:
================
Rendered content in the pane shows the left to right alignment.
- relates to
-
JDK-4723383 Incomplete RTF support in javax.swing.text.rtf.RTFEditorKit
- Closed