updatecenter
  1. updatecenter
  2. UPDATECENTER-215

Component description field should support html

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: gui
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      215

      Description

      Currently we are using JTextArea to display component description. Looks like
      JTextArea does not support html and as such not able to format the component
      description. Need to use some other swing component which supports html.

        Activity

        Hide
        Byron Nevins added a comment -

        The JTextArea was replaced with a JEditorPane.

        The GUI does this to populate the pane:

        create a HTML String like so:

        <HTML>
        <BODY>
        contents of getDexcription() call
        </Body>
        </HTML>
        – Why do this? Now if you have plain text it will at least be rendered as
        plain text HTML
        So – don't add these HTML elements in the descriptions themselves.

        Show
        Byron Nevins added a comment - The JTextArea was replaced with a JEditorPane. The GUI does this to populate the pane: create a HTML String like so: <HTML> <BODY> contents of getDexcription() call </Body> </HTML> – Why do this? Now if you have plain text it will at least be rendered as plain text HTML So – don't add these HTML elements in the descriptions themselves.

          People

          • Assignee:
            Byron Nevins
            Reporter:
            rp100353
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: