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

javax.swing.JEditorPane.setPage(java.net.URL) does not preserve nesting of font and form elements

    Details

      Description

      Nested structures like
      <b>
       <select>
         <option value="Adelaide">Adelaide</option>
       </select>
       This is some Text.
      </b>
      are not preserved when reading them with
        javax.swing.JEditorPane.setPage(java.net.URL)
      and subsequently writing them with
        javax.swing.JEditorPane.getText().

      javax.swing.JEditorPane.getText() returns the html code as

      <select>
        <option value=Adelaide>Adelaide
      </select>
      <b>
        This is some Text.
      </b>

        Attachments

          Activity

            People

            • Assignee:
              miroslawzn Miroslaw Niemiec (Inactive)
              Reporter:
              thlenz Thomas Lenz (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: