Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6459439

RTF content is not aligning to right to left while applying the comp orientation(RTL) to editorpane.

XMLWordPrintable

    • 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.

            peterz Peter Zhelezniakov
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: