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

[PIT] Container size is wrong in JEditorPane

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b85

      Backports

        Description

        Run the Swing_AllComponents/Automated/LAF_OrientationSuite/JEditorPaneHtmlTest1 test with current JDK9 client state (pre-b78). Sorry, it is not very straightforward but the idea is easy: some simple html text is rendered into a JTextPane in a JPanel. The size of the panel is fixed. In this PIT build, however, HTML is laid out in a bigger container, and scrollbar appeared. See the attached screenshots from b40 and this PIT

          Attachments

          1. b40.png
            b40.png
            8 kB
          2. b78.png
            b78.png
            7 kB

            Issue Links

              Activity

                People

                Assignee:
                ssadetsky Semyon Sadetsky (Inactive)
                Reporter:
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: